mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-24 02:28:34 +01:00
try a different variant of getDiagnostics... #30075
This commit is contained in:
@@ -236,7 +236,7 @@ export function createApiFactory(
|
||||
checkProposedApiEnabled(extension);
|
||||
return extHostDiagnostics.onDidChangeDiagnostics;
|
||||
},
|
||||
getDiagnostics: proposedApiFunction(extension, resource => {
|
||||
getDiagnostics: <any>proposedApiFunction(extension, (resource?) => {
|
||||
return extHostDiagnostics.getDiagnostics(resource);
|
||||
}),
|
||||
getLanguages(): TPromise<string[]> {
|
||||
|
||||
Reference in New Issue
Block a user