mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-29 21:11:38 +01:00
Converted about 25 *.test.ts files to --strictNullChecks (mostly automatically) (#65581)
* Manually added strict null checks in around 70 files * Fixed tsconfig.strictNullChecks.json merge fail * Touched up a few unnecessary type changes * Removed files already in other PRs
This commit is contained in:
committed by
Matt Bierner
parent
cb674e7d11
commit
d659000852
@@ -25,7 +25,7 @@ function options(custom?: Partial<IBestWindowOrFolderOptions<ISimpleWindow>>): I
|
||||
reuseWindow: false,
|
||||
context: OpenContext.CLI,
|
||||
codeSettingsFolder: '_vscode',
|
||||
workspaceResolver: workspace => { return workspace === testWorkspace ? { id: testWorkspace.id, configPath: workspace.configPath, folders: toWorkspaceFolders([{ path: path.join(fixturesFolder, 'vscode_workspace_1_folder') }, { path: path.join(fixturesFolder, 'vscode_workspace_2_folder') }]) } : null; },
|
||||
workspaceResolver: workspace => { return workspace === testWorkspace ? { id: testWorkspace.id, configPath: workspace.configPath, folders: toWorkspaceFolders([{ path: path.join(fixturesFolder, 'vscode_workspace_1_folder') }, { path: path.join(fixturesFolder, 'vscode_workspace_2_folder') }]) } : null!; },
|
||||
...custom
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user