Enable strictBindCallApply for VS Code

Fixes #64633
This commit is contained in:
Matt Bierner
2018-12-07 14:24:58 -08:00
parent 8b4924d755
commit e2cf8ebc5d
12 changed files with 17 additions and 16 deletions

View File

@@ -72,7 +72,7 @@ function proposedApiFunction<T>(extension: IExtensionDescription, fn: T): T {
if (extension.enableProposedApi) {
return fn;
} else {
return throwProposedApiError.bind(null, extension);
return throwProposedApiError.bind(null, extension) as any as T;
}
}