monaco-languageclient
Advanced tools
Comparing version 0.7.0-next.1 to 0.7.0-next.2
@@ -21,6 +21,14 @@ "use strict"; | ||
self._p2c = new Proxy(self._p2c, { | ||
get: () => bypassConversion | ||
get: (target, prop) => { | ||
if (prop === 'asUri') { | ||
return target[prop]; | ||
} | ||
return bypassConversion; | ||
} | ||
}); | ||
self._c2p = new Proxy(self._c2p, { | ||
get: (target, prop) => { | ||
if (prop === 'asUri') { | ||
return target[prop]; | ||
} | ||
if (prop === 'asCompletionParams') { | ||
@@ -27,0 +35,0 @@ return (textDocument, position, context) => { |
{ | ||
"name": "monaco-languageclient", | ||
"version": "0.7.0-next.1", | ||
"version": "0.7.0-next.2", | ||
"description": "Monaco Language client implementation", | ||
@@ -5,0 +5,0 @@ "author": "TypeFox GmbH (http://www.typefox.io)", |
@@ -30,6 +30,14 @@ /* -------------------------------------------------------------------------------------------- | ||
self._p2c = new Proxy(self._p2c, { | ||
get: () => bypassConversion | ||
get: (target: any, prop: string) => { | ||
if (prop === 'asUri') { | ||
return target[prop]; | ||
} | ||
return bypassConversion; | ||
} | ||
}); | ||
self._c2p = new Proxy(self._c2p, { | ||
get: (target: any, prop: string) => { | ||
if (prop === 'asUri') { | ||
return target[prop]; | ||
} | ||
if (prop === 'asCompletionParams') { | ||
@@ -36,0 +44,0 @@ return (textDocument: any, position: any, context: any): CompletionParams => { |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
371806
5295