You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[14:20:06] Error: /Users/matb/projects/vscode/src/vs/workbench/api/node/extHost.api.impl.ts(121,63): Type 'ExtHostSCM' does not satisfy the constraint 'ExtHostSCMShape'.
Types of property '$provideOriginalResource' are incompatible.
Type '(sourceControlHandle: number, uri: URI) => TPromise<Uri>' is not assignable to type '(sourceControlHandle: number, uri: URI) => TPromise<URI>'.
Type 'TPromise<Uri>' is not assignable to type 'TPromise<URI>'.
Type 'Uri' is not assignable to type 'URI'.
Property '_scheme' is missing in type 'Uri'.
[14:20:06] Error: /Users/matb/projects/vscode/src/vs/workbench/api/node/extHost.api.impl.ts(300,9): Type '{ readonly activeTextEditor: ExtHostTextEditor; readonly visibleTextEditors: TextEditor[]; showTe...' is not assignable to type 'typeof window'.
Types of property 'showInformationMessage' are incompatible.
Type '(message: any, first: any, ...rest: any[]) => Thenable<string | MessageItem>' is not assignable to type '{ (message: string, ...items: string[]): Thenable<string>; (message: string, options: MessageOpti...'.
Type 'Thenable<string | MessageItem>' is not assignable to type 'Thenable<string>'.
Type 'string | MessageItem' is not assignable to type 'string'.
Type 'MessageItem' is not assignable to type 'string'.
[14:20:06] Error: /Users/matb/projects/vscode/src/vs/workbench/api/node/extHost.api.impl.ts(378,9): Type '{ rootPath: string; asRelativePath: (pathOrUri: string | Uri) => string; findFiles: (include: str...' is not assignable to type 'typeof workspace'.
Types of property 'onDidChangeConfiguration' are incompatible.
Type '(listener: () => any, thisArgs?: any, disposables?: Disposable[]) => IDisposable' is not assignable to type 'Event<void>'.
Types of parameters 'listener' and 'listener' are incompatible.
How to investigate
Install TS 2.4 in the vscode workspace by running npm install typescript@next
Make sure vscode is using the workspace version of TS for error reporting by running the Select TypeScript versions command
The text was updated successfully, but these errors were encountered:
Errors
In
extHost.api.impl.ts
:How to investigate
npm install typescript@next
Select TypeScript versions
commandThe text was updated successfully, but these errors were encountered: