mirror of
https://github.com/microsoft/vscode.git
synced 2026-07-09 20:37:13 -05:00
fix compile error
This commit is contained in:
@@ -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];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user