-
-
Notifications
You must be signed in to change notification settings - Fork 177
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
DRAFT - Update Language Client to 6.0.0 #197
Conversation
Open in Gitpod - starts a development workspace for this pull request in code review mode and opens it in a browser IDE. |
c1f212e
to
48ed562
Compare
- requires upgrade of TtypeScript to 3.7.5 to avoid "error TS1086: An accessor cannot be declared in an ambient context. " - requires API updates: -- client/src/monaco-language-client.ts createMessageTransports now using Promise instead of Thenable -- vscode-uri Uri has been renamed URI -- registerCallHierarchyProvider has moved from workspace to languages remaining: monaco-languageclient: src/vscode-api.ts(52,11): error TS2740: Type '{ createFileSystemWatcher(globPattern: GlobPattern, ignoreCreateEvents: boolean | undefined, ignoreChangeEvents: boolean | undefined, ignoreDeleteEvents: boolean | undefined): FileSystemWatcher; ... 21 more ...; name: undefined; }' is missing the following properties from type 'typeof workspace': fs, workspaceFile, onWillCreateFiles, onDidCreateFiles, and 4 more. monaco-languageclient: src/vscode-api.ts(209,17): error TS2322: Type '(arg0: Uri, arg1: readonly Diagnostic[] | undefined) => void' is not assignable to type '{ (uri: Uri, diagnostics: readonly Diagnostic[] | undefined): void; (entries: readonly [Uri, readonly Diagnostic[] | undefined][]): void; }'. Signed-off-by: Aurélien Pupier <apupier@redhat.com>
monaco-languageclient: src/vscode-api.ts(52,11): error TS2740: Type '{ createFileSystemWatcher(globPattern: GlobPattern, ignoreCreateEvents: boolean | undefined, ignoreChangeEvents: boolean | undefined, ignoreDeleteEvents: boolean | undefined): FileSystemWatcher; ... 21 more ...; name: undefined; }' is missing the following properties from type 'typeof workspace': fs, workspaceFile, onWillCreateFiles, onDidCreateFiles, and 4 more. Signed-off-by: Aurélien Pupier <apupier@redhat.com>
337287d
to
b5e0e8c
Compare
hum in fact, seems that compilation errro are nto all reported when there is a previous one, here is a bunch of other:
|
Signed-off-by: Aurélien Pupier <apupier@redhat.com>
I see similar errors in the PR #198. |
@apupier ==== upd: checked - some errors are still there, so continue to investigate how to fix them... |
seems #199 is more advanced. Closing this PR |
error TS1086: An accessor cannot be declared in an ambient context.
using Promise instead of Thenable
remaining (but didn't grok what it means, I'm a newbie in typescript):
EDIT:
fixed: