mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-23 01:58:53 +01:00
Use @types/node in extensions (#19692)
Switches builtin extensions to use @types/node for node definitions. Fixes a few errors that show up as a result of updating to a more modern version of node.d.ts
This commit is contained in:
@@ -69,7 +69,7 @@ suite('languages namespace tests', () => {
|
||||
|
||||
test('completions with document filters', function (done) {
|
||||
let ran = false;
|
||||
let uri = Uri.file(join(workspace.rootPath, './bower.json'));
|
||||
let uri = Uri.file(join(workspace.rootPath || '', './bower.json'));
|
||||
|
||||
let jsonDocumentFilter = [{ language: 'json', pattern: '**/package.json' }, { language: 'json', pattern: '**/bower.json' }, { language: 'json', pattern: '**/.bower.json' }];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user