提交 2322b4bd 编写于 作者: J Joao Moreno

fix compile error

上级 cdad71c0
......@@ -195,6 +195,10 @@ export class Code {
) {
this.driver = new Proxy(driver, {
get(target, prop, receiver) {
if (typeof prop === 'symbol') {
throw new Error('Invalid usage');
}
if (typeof target[prop] !== 'function') {
return target[prop];
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册