Skip to content

Commit e6fac66

Browse files
Explicitly set strict: false for project tests, eval tests, and more programmatic fourslash tests (#63024)
1 parent 58ed4bc commit e6fac66

File tree

260 files changed

+344
-83
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

260 files changed

+344
-83
lines changed

src/harness/evaluatorImpl.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ export function evaluateTypeScript(source: string | { files: vfs.FileSet; rootFi
3939
const compilerOptions: ts.CompilerOptions = {
4040
target: ts.ScriptTarget.ES5,
4141
module: ts.ModuleKind.CommonJS,
42+
strict: false,
4243
lib: ["lib.esnext.d.ts", "lib.dom.d.ts"],
4344
...options,
4445
};

tests/baselines/reference/project/mapRootAbsolutePathModuleMultifolderNoOutdir/amd/mapRootAbsolutePathModuleMultifolderNoOutdir.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
"baselineCheck": true,
1010
"mapRoot": "tests/cases/projects/outputdir_module_multifolder/mapFiles",
1111
"resolveMapRoot": true,
12+
"strict": false,
1213
"resolvedInputFiles": [
1314
"lib.es5.d.ts",
1415
"lib.decorators.d.ts",

tests/baselines/reference/project/mapRootAbsolutePathModuleMultifolderNoOutdir/node/mapRootAbsolutePathModuleMultifolderNoOutdir.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
"baselineCheck": true,
1010
"mapRoot": "tests/cases/projects/outputdir_module_multifolder/mapFiles",
1111
"resolveMapRoot": true,
12+
"strict": false,
1213
"resolvedInputFiles": [
1314
"lib.es5.d.ts",
1415
"lib.decorators.d.ts",

tests/baselines/reference/project/mapRootAbsolutePathModuleMultifolderSpecifyOutputDirectory/amd/mapRootAbsolutePathModuleMultifolderSpecifyOutputDirectory.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
"baselineCheck": true,
1111
"mapRoot": "tests/cases/projects/outputdir_module_multifolder/mapFiles",
1212
"resolveMapRoot": true,
13+
"strict": false,
1314
"resolvedInputFiles": [
1415
"lib.es5.d.ts",
1516
"lib.decorators.d.ts",

tests/baselines/reference/project/mapRootAbsolutePathModuleMultifolderSpecifyOutputDirectory/node/mapRootAbsolutePathModuleMultifolderSpecifyOutputDirectory.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
"baselineCheck": true,
1111
"mapRoot": "tests/cases/projects/outputdir_module_multifolder/mapFiles",
1212
"resolveMapRoot": true,
13+
"strict": false,
1314
"resolvedInputFiles": [
1415
"lib.es5.d.ts",
1516
"lib.decorators.d.ts",

tests/baselines/reference/project/mapRootAbsolutePathModuleMultifolderSpecifyOutputFile/amd/mapRootAbsolutePathModuleMultifolderSpecifyOutputFile.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
"baselineCheck": true,
1111
"mapRoot": "tests/cases/projects/outputdir_module_multifolder/mapFiles",
1212
"resolveMapRoot": true,
13+
"strict": false,
1314
"resolvedInputFiles": [
1415
"lib.es5.d.ts",
1516
"lib.decorators.d.ts",

tests/baselines/reference/project/mapRootAbsolutePathModuleMultifolderSpecifyOutputFile/node/mapRootAbsolutePathModuleMultifolderSpecifyOutputFile.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
"baselineCheck": true,
1111
"mapRoot": "tests/cases/projects/outputdir_module_multifolder/mapFiles",
1212
"resolveMapRoot": true,
13+
"strict": false,
1314
"resolvedInputFiles": [
1415
"lib.es5.d.ts",
1516
"lib.decorators.d.ts",

tests/baselines/reference/project/mapRootAbsolutePathModuleSimpleNoOutdir/amd/mapRootAbsolutePathModuleSimpleNoOutdir.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
"baselineCheck": true,
1010
"mapRoot": "tests/cases/projects/outputdir_module_simple/mapFiles",
1111
"resolveMapRoot": true,
12+
"strict": false,
1213
"resolvedInputFiles": [
1314
"lib.es5.d.ts",
1415
"lib.decorators.d.ts",

tests/baselines/reference/project/mapRootAbsolutePathModuleSimpleNoOutdir/node/mapRootAbsolutePathModuleSimpleNoOutdir.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
"baselineCheck": true,
1010
"mapRoot": "tests/cases/projects/outputdir_module_simple/mapFiles",
1111
"resolveMapRoot": true,
12+
"strict": false,
1213
"resolvedInputFiles": [
1314
"lib.es5.d.ts",
1415
"lib.decorators.d.ts",

tests/baselines/reference/project/mapRootAbsolutePathModuleSimpleSpecifyOutputDirectory/amd/mapRootAbsolutePathModuleSimpleSpecifyOutputDirectory.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
"baselineCheck": true,
1111
"mapRoot": "tests/cases/projects/outputdir_module_simple/mapFiles",
1212
"resolveMapRoot": true,
13+
"strict": false,
1314
"resolvedInputFiles": [
1415
"lib.es5.d.ts",
1516
"lib.decorators.d.ts",

0 commit comments

Comments
 (0)