diff --git a/.github/actions/deploy-docs-site/tsconfig.json b/.github/actions/deploy-docs-site/tsconfig.json index ddabad392d7..bc8e4ee479d 100644 --- a/.github/actions/deploy-docs-site/tsconfig.json +++ b/.github/actions/deploy-docs-site/tsconfig.json @@ -5,7 +5,6 @@ "types": ["node"], "lib": ["es2021"], "experimentalDecorators": true, - "strict": true, "skipLibCheck": true, "noImplicitOverride": true, "esModuleInterop": true, @@ -13,4 +12,4 @@ "declaration": true, "sourceMap": true } -} \ No newline at end of file +} diff --git a/.ng-dev/tsconfig.json b/.ng-dev/tsconfig.json index 755e28d9d8d..7eface4d1f8 100644 --- a/.ng-dev/tsconfig.json +++ b/.ng-dev/tsconfig.json @@ -1,6 +1,5 @@ { "compilerOptions": { - "strict": true, "target": "es2020", "module": "Node16", "noEmit": true, diff --git a/adev/scripts/synonyms/tsconfig.json b/adev/scripts/synonyms/tsconfig.json index 7f56507bc27..5ac7e6c1641 100644 --- a/adev/scripts/synonyms/tsconfig.json +++ b/adev/scripts/synonyms/tsconfig.json @@ -2,7 +2,6 @@ "compileOnSave": false, "compilerOptions": { "forceConsistentCasingInFileNames": true, - "strict": true, "noImplicitOverride": true, "noPropertyAccessFromIndexSignature": true, "noImplicitReturns": true, diff --git a/adev/shared-docs/pipeline/examples/template/tsconfig.json b/adev/shared-docs/pipeline/examples/template/tsconfig.json index c1ac3449c13..7b3cf8dea9c 100644 --- a/adev/shared-docs/pipeline/examples/template/tsconfig.json +++ b/adev/shared-docs/pipeline/examples/template/tsconfig.json @@ -16,20 +16,16 @@ "noUnusedParameters": false, "noUnusedLocals": false, "useDefineForClassFields": false, - "strictNullChecks": true, "noImplicitReturns": true, - "strictFunctionTypes": true, "noImplicitOverride": true, "noFallthroughCasesInSwitch": true, "noImplicitAny": true, "noImplicitThis": true, - "strictBindCallApply": true, "esModuleInterop": true }, "angularCompilerOptions": { "enableI18nLegacyMessageIdFormat": false, "strictInjectionParameters": true, - "strictInputAccessModifiers": true, - "strictTemplates": true + "strictInputAccessModifiers": true } } diff --git a/adev/shared-docs/pipeline/tutorials/common/tsconfig.json b/adev/shared-docs/pipeline/tutorials/common/tsconfig.json index aceba2d10de..e49e05da1da 100644 --- a/adev/shared-docs/pipeline/tutorials/common/tsconfig.json +++ b/adev/shared-docs/pipeline/tutorials/common/tsconfig.json @@ -4,7 +4,6 @@ "compilerOptions": { "outDir": "./dist/out-tsc", "forceConsistentCasingInFileNames": true, - "strict": true, "noImplicitOverride": true, "noPropertyAccessFromIndexSignature": true, "noImplicitReturns": true, @@ -22,8 +21,6 @@ "angularCompilerOptions": { "enableI18nLegacyMessageIdFormat": false, "strictInjectionParameters": true, - "strictInputAccessModifiers": true, - "strictTemplates": true, - "_enabledBlockTypes": ["if", "for"] + "strictInputAccessModifiers": true } } diff --git a/adev/shared-docs/tsconfig.json b/adev/shared-docs/tsconfig.json index 27e51846860..5b94fdba311 100644 --- a/adev/shared-docs/tsconfig.json +++ b/adev/shared-docs/tsconfig.json @@ -4,7 +4,6 @@ "module": "ESNext", "skipLibCheck": true, "moduleResolution": "bundler", - "strict": true, "declaration": true, "sourceMap": true, "lib": ["ES2022", "dom"], @@ -18,7 +17,6 @@ }, "angularCompilerOptions": { "strictInjectionParameters": true, - "strictInputAccessModifiers": true, - "strictTemplates": true + "strictInputAccessModifiers": true } } diff --git a/adev/src/content/examples/angular-compiler-options/tsconfig.app.json b/adev/src/content/examples/angular-compiler-options/tsconfig.app.json index 1e5510af385..f5468d37f5e 100644 --- a/adev/src/content/examples/angular-compiler-options/tsconfig.app.json +++ b/adev/src/content/examples/angular-compiler-options/tsconfig.app.json @@ -2,44 +2,39 @@ /* To learn more about this file see: https://www.typescriptlang.org/docs/handbook/tsconfig-json.html. */ // #docregion angular-compiler-options-app { - "extends": "./tsconfig.json", - "compilerOptions": { - "outDir": "./out-tsc/app", - // #enddocregion angular-compiler-options-app - "types": [] - // #docregion angular-compiler-options-app - }, + "extends": "./tsconfig.json", + "compilerOptions": { + "outDir": "./out-tsc/app", // #enddocregion angular-compiler-options-app - "files": [ - "src/main.ts" - ], - "include": [ - "src/**/*.d.ts" - ], - "exclude": [ - "src/test.ts", - "src/**/*.spec.ts", - "src/**/*-specs.ts", - "src/**/*.avoid.ts", - "src/**/*.0.ts", - "src/**/*.1.ts", - "src/**/*.1b.ts", - "src/**/*.2.ts", - "src/**/*.3.ts", - "src/**/*.4.ts", - "src/**/*.5.ts", - "src/**/*.6.ts", - "src/**/*.7.ts", - "src/**/testing" - ], + "types": [] // #docregion angular-compiler-options-app - "angularCompilerOptions": { - "strictTemplates": true, - "preserveWhitespaces": true, - // #enddocregion angular-compiler-options-app - "sourceMap": true, - "declaration": false - // #docregion angular-compiler-options-app - } - } + }, // #enddocregion angular-compiler-options-app + "files": ["src/main.ts"], + "include": ["src/**/*.d.ts"], + "exclude": [ + "src/test.ts", + "src/**/*.spec.ts", + "src/**/*-specs.ts", + "src/**/*.avoid.ts", + "src/**/*.0.ts", + "src/**/*.1.ts", + "src/**/*.1b.ts", + "src/**/*.2.ts", + "src/**/*.3.ts", + "src/**/*.4.ts", + "src/**/*.5.ts", + "src/**/*.6.ts", + "src/**/*.7.ts", + "src/**/testing" + ], + // #docregion angular-compiler-options-app + "angularCompilerOptions": { + "preserveWhitespaces": true, + // #enddocregion angular-compiler-options-app + "sourceMap": true, + "declaration": false + // #docregion angular-compiler-options-app + } +} +// #enddocregion angular-compiler-options-app diff --git a/adev/src/content/examples/angular-compiler-options/tsconfig.json b/adev/src/content/examples/angular-compiler-options/tsconfig.json index 70b310ec64d..363cf9be358 100644 --- a/adev/src/content/examples/angular-compiler-options/tsconfig.json +++ b/adev/src/content/examples/angular-compiler-options/tsconfig.json @@ -7,7 +7,6 @@ // #enddocregion angular-compiler-options "outDir": "./dist/out-tsc", "forceConsistentCasingInFileNames": true, - "strict": true, "noImplicitOverride": true, "noPropertyAccessFromIndexSignature": true, "noImplicitReturns": true, @@ -26,8 +25,7 @@ "enableI18nLegacyMessageIdFormat": false, "strictInjectionParameters": true, // #enddocregion angular-compiler-options - "strictInputAccessModifiers": true, - "strictTemplates": true + "strictInputAccessModifiers": true // #docregion angular-compiler-options } } diff --git a/adev/src/content/examples/schematics-for-libraries/projects/my-lib/tsconfig.lib.json b/adev/src/content/examples/schematics-for-libraries/projects/my-lib/tsconfig.lib.json index 04bde6995ae..516a73d97e8 100644 --- a/adev/src/content/examples/schematics-for-libraries/projects/my-lib/tsconfig.lib.json +++ b/adev/src/content/examples/schematics-for-libraries/projects/my-lib/tsconfig.lib.json @@ -11,17 +11,10 @@ "experimentalDecorators": true, "importHelpers": true, "types": [], - "lib": [ - "dom", - "es2018" - ] + "lib": ["dom", "es2018"] }, "angularCompilerOptions": { - "strictTemplates": true, "strictInjectionParameters": true }, - "exclude": [ - "src/test.ts", - "**/*.spec.ts" - ] + "exclude": ["src/test.ts", "**/*.spec.ts"] } diff --git a/adev/src/content/examples/schematics-for-libraries/projects/my-lib/tsconfig.schematics.json b/adev/src/content/examples/schematics-for-libraries/projects/my-lib/tsconfig.schematics.json index 4722c6029ac..1cc66878bf1 100644 --- a/adev/src/content/examples/schematics-for-libraries/projects/my-lib/tsconfig.schematics.json +++ b/adev/src/content/examples/schematics-for-libraries/projects/my-lib/tsconfig.schematics.json @@ -1,10 +1,7 @@ { "compilerOptions": { "baseUrl": ".", - "lib": [ - "es2018", - "dom" - ], + "lib": ["es2018", "dom"], "declaration": true, "module": "commonjs", "moduleResolution": "node", @@ -19,17 +16,9 @@ "skipDefaultLibCheck": true, "skipLibCheck": true, "sourceMap": true, - "strictNullChecks": true, "target": "es6", - "types": [ - "jasmine", - "node" - ] + "types": ["jasmine", "node"] }, - "include": [ - "schematics/**/*" - ], - "exclude": [ - "schematics/*/files/**/*" - ] -} \ No newline at end of file + "include": ["schematics/**/*"], + "exclude": ["schematics/*/files/**/*"] +} diff --git a/adev/src/context/tsconfig.json b/adev/src/context/tsconfig.json index 98250e7ab50..6194fa3c409 100644 --- a/adev/src/context/tsconfig.json +++ b/adev/src/context/tsconfig.json @@ -1,6 +1,5 @@ { "compilerOptions": { - "strict": true, "skipLibCheck": true, "declaration": true, "sourceMap": true, diff --git a/adev/tsconfig.json b/adev/tsconfig.json index 50ec4f63c4b..68b631e7022 100644 --- a/adev/tsconfig.json +++ b/adev/tsconfig.json @@ -3,7 +3,6 @@ "compilerOptions": { "outDir": "./dist/out-tsc", "forceConsistentCasingInFileNames": true, - "strict": true, "noImplicitOverride": true, "noPropertyAccessFromIndexSignature": true, "noImplicitReturns": true, @@ -25,7 +24,6 @@ }, "angularCompilerOptions": { "strictInjectionParameters": true, - "strictInputAccessModifiers": true, - "strictTemplates": true + "strictInputAccessModifiers": true } } diff --git a/dev-app/tsconfig.json b/dev-app/tsconfig.json index 870328cabf1..b3c60fa20b5 100644 --- a/dev-app/tsconfig.json +++ b/dev-app/tsconfig.json @@ -2,7 +2,6 @@ "compileOnSave": false, "compilerOptions": { "stableTypeOrdering": true, - "strict": true, "noImplicitOverride": true, "noPropertyAccessFromIndexSignature": true, "noImplicitReturns": true, @@ -20,8 +19,7 @@ "angularCompilerOptions": { "enableI18nLegacyMessageIdFormat": false, "strictInjectionParameters": true, - "strictInputAccessModifiers": true, - "strictTemplates": true + "strictInputAccessModifiers": true }, "files": [], "references": [ diff --git a/devtools/tsconfig.json b/devtools/tsconfig.json index 4c37fb2049d..1832e617acb 100644 --- a/devtools/tsconfig.json +++ b/devtools/tsconfig.json @@ -3,7 +3,6 @@ "sourceMap": true, "inlineSources": true, "declaration": true, - "strict": true, "noImplicitReturns": true, "noPropertyAccessFromIndexSignature": true, "downlevelIteration": true, @@ -22,8 +21,11 @@ } }, "angularCompilerOptions": { - "strictTemplates": true, "strictInjectionParameters": true, - "unusedStandaloneImports": "error" + "extendedDiagnostics": { + "checks": { + "unusedStandaloneImports": "error" + } + } } } diff --git a/integration/animations/tsconfig.json b/integration/animations/tsconfig.json index a7b0a09ee76..531496394f1 100644 --- a/integration/animations/tsconfig.json +++ b/integration/animations/tsconfig.json @@ -13,7 +13,5 @@ "typeRoots": ["node_modules/@types"], "lib": ["es2018", "dom"] }, - "angularCompilerOptions": { - "strictTemplates": true - } + "angularCompilerOptions": {} } diff --git a/integration/cli-hello-world/tsconfig.json b/integration/cli-hello-world/tsconfig.json index a7b0a09ee76..531496394f1 100644 --- a/integration/cli-hello-world/tsconfig.json +++ b/integration/cli-hello-world/tsconfig.json @@ -13,7 +13,5 @@ "typeRoots": ["node_modules/@types"], "lib": ["es2018", "dom"] }, - "angularCompilerOptions": { - "strictTemplates": true - } + "angularCompilerOptions": {} } diff --git a/integration/cli-signal-inputs/tsconfig.json b/integration/cli-signal-inputs/tsconfig.json index 3281bc495fd..531496394f1 100644 --- a/integration/cli-signal-inputs/tsconfig.json +++ b/integration/cli-signal-inputs/tsconfig.json @@ -4,7 +4,6 @@ "outDir": "./dist/out-tsc", "sourceMap": true, "esModuleInterop": true, - "strict": true, "declaration": false, "experimentalDecorators": true, "module": "es2022", @@ -14,7 +13,5 @@ "typeRoots": ["node_modules/@types"], "lib": ["es2018", "dom"] }, - "angularCompilerOptions": { - "strictTemplates": true - } + "angularCompilerOptions": {} } diff --git a/integration/ng-add-localize/tsconfig.json b/integration/ng-add-localize/tsconfig.json index 7c024e019e2..25ea119a8d8 100644 --- a/integration/ng-add-localize/tsconfig.json +++ b/integration/ng-add-localize/tsconfig.json @@ -5,7 +5,6 @@ "outDir": "./dist/out-tsc", "forceConsistentCasingInFileNames": true, "esModuleInterop": true, - "strict": true, "noImplicitOverride": true, "noPropertyAccessFromIndexSignature": true, "noImplicitReturns": true, @@ -22,7 +21,6 @@ "angularCompilerOptions": { "enableI18nLegacyMessageIdFormat": false, "strictInjectionParameters": true, - "strictInputAccessModifiers": true, - "strictTemplates": true + "strictInputAccessModifiers": true } } diff --git a/integration/ng-modules-importability/tsconfig.json b/integration/ng-modules-importability/tsconfig.json index 8e441986263..8c1a7431b91 100644 --- a/integration/ng-modules-importability/tsconfig.json +++ b/integration/ng-modules-importability/tsconfig.json @@ -1,6 +1,5 @@ { "compilerOptions": { - "strict": true, "declaration": true, "sourceMap": true, "module": "esnext", diff --git a/integration/ng_elements/tsconfig.json b/integration/ng_elements/tsconfig.json index 57c82279e7b..474863faa24 100644 --- a/integration/ng_elements/tsconfig.json +++ b/integration/ng_elements/tsconfig.json @@ -1,12 +1,11 @@ { "angularCompilerOptions": { "annotationsAs": "static fields", - "annotateForClosureCompiler": true, + "annotateForClosureCompiler": true }, "compilerOptions": { "module": "es2015", "moduleResolution": "bundler", - "strictNullChecks": true, "target": "es2022", "sourceMap": false, "experimentalDecorators": true, @@ -15,11 +14,5 @@ "declaration": true, "types": [] }, - "exclude": [ - "vendor", - "node_modules", - "built", - "dist", - "e2e" - ] + "exclude": ["vendor", "node_modules", "built", "dist", "e2e"] } diff --git a/integration/nodenext_resolution/tsconfig.json b/integration/nodenext_resolution/tsconfig.json index e2a6e76e4cd..de1a332a367 100644 --- a/integration/nodenext_resolution/tsconfig.json +++ b/integration/nodenext_resolution/tsconfig.json @@ -1,7 +1,6 @@ { "compilerOptions": { "forceConsistentCasingInFileNames": true, - "strict": true, "noImplicitReturns": true, "noFallthroughCasesInSwitch": true, "experimentalDecorators": true, diff --git a/integration/platform-server-hydration/tsconfig.json b/integration/platform-server-hydration/tsconfig.json index 437984834ca..d0fe1e7f888 100644 --- a/integration/platform-server-hydration/tsconfig.json +++ b/integration/platform-server-hydration/tsconfig.json @@ -3,7 +3,6 @@ "compileOnSave": false, "compilerOptions": { "outDir": "./dist/out-tsc", - "strict": true, "noImplicitOverride": true, "noPropertyAccessFromIndexSignature": true, "noImplicitReturns": true, @@ -23,7 +22,6 @@ "angularCompilerOptions": { "enableI18nLegacyMessageIdFormat": false, "strictInjectionParameters": true, - "strictInputAccessModifiers": true, - "strictTemplates": true + "strictInputAccessModifiers": true } } diff --git a/integration/platform-server-zoneless/tsconfig.json b/integration/platform-server-zoneless/tsconfig.json index 6dae22563a7..91fbb60af1f 100644 --- a/integration/platform-server-zoneless/tsconfig.json +++ b/integration/platform-server-zoneless/tsconfig.json @@ -4,7 +4,6 @@ "compilerOptions": { "outDir": "./dist/out-tsc", "forceConsistentCasingInFileNames": true, - "strict": true, "noImplicitOverride": true, "noPropertyAccessFromIndexSignature": true, "noImplicitReturns": true, @@ -23,7 +22,6 @@ "angularCompilerOptions": { "enableI18nLegacyMessageIdFormat": false, "strictInjectionParameters": true, - "strictInputAccessModifiers": true, - "strictTemplates": true + "strictInputAccessModifiers": true } } diff --git a/integration/platform-server/tsconfig.json b/integration/platform-server/tsconfig.json index 6dae22563a7..91fbb60af1f 100644 --- a/integration/platform-server/tsconfig.json +++ b/integration/platform-server/tsconfig.json @@ -4,7 +4,6 @@ "compilerOptions": { "outDir": "./dist/out-tsc", "forceConsistentCasingInFileNames": true, - "strict": true, "noImplicitOverride": true, "noPropertyAccessFromIndexSignature": true, "noImplicitReturns": true, @@ -23,7 +22,6 @@ "angularCompilerOptions": { "enableI18nLegacyMessageIdFormat": false, "strictInjectionParameters": true, - "strictInputAccessModifiers": true, - "strictTemplates": true + "strictInputAccessModifiers": true } } diff --git a/integration/trusted-types/tsconfig.json b/integration/trusted-types/tsconfig.json index 6063f825c0f..2b45cc61bf0 100644 --- a/integration/trusted-types/tsconfig.json +++ b/integration/trusted-types/tsconfig.json @@ -5,7 +5,6 @@ "outDir": "./dist/out-tsc", "forceConsistentCasingInFileNames": true, "esModuleInterop": true, - "strict": true, "noImplicitReturns": true, "noFallthroughCasesInSwitch": true, "sourceMap": true, @@ -19,7 +18,6 @@ }, "angularCompilerOptions": { "strictInjectionParameters": true, - "strictInputAccessModifiers": true, - "strictTemplates": true + "strictInputAccessModifiers": true } } diff --git a/integration/typings_test_rxjs7/tsconfig.json b/integration/typings_test_rxjs7/tsconfig.json index 1c24ff5143f..21023cccca1 100644 --- a/integration/typings_test_rxjs7/tsconfig.json +++ b/integration/typings_test_rxjs7/tsconfig.json @@ -1,7 +1,6 @@ { "compilerOptions": { "forceConsistentCasingInFileNames": true, - "strict": true, "noImplicitReturns": true, "noFallthroughCasesInSwitch": true, "experimentalDecorators": true, diff --git a/integration/typings_test_ts60/tsconfig.json b/integration/typings_test_ts60/tsconfig.json index 1a9903d1d0e..7a5666e8a3a 100644 --- a/integration/typings_test_ts60/tsconfig.json +++ b/integration/typings_test_ts60/tsconfig.json @@ -1,7 +1,6 @@ { "compilerOptions": { "forceConsistentCasingInFileNames": true, - "strict": true, "noImplicitReturns": true, "noFallthroughCasesInSwitch": true, "experimentalDecorators": true, diff --git a/modules/benchmarks/tsconfig-e2e.json b/modules/benchmarks/tsconfig-e2e.json index c2cbe9eda9b..6c33ad91a50 100644 --- a/modules/benchmarks/tsconfig-e2e.json +++ b/modules/benchmarks/tsconfig-e2e.json @@ -4,7 +4,6 @@ "types": ["node", "jasmine"], "module": "esnext", "moduleResolution": "nodenext", - "strict": true, "sourceMap": true, "declaration": true } diff --git a/modules/benchmarks/tsconfig.json b/modules/benchmarks/tsconfig.json index 5b0c0df9d07..906b5c7da17 100644 --- a/modules/benchmarks/tsconfig.json +++ b/modules/benchmarks/tsconfig.json @@ -6,14 +6,13 @@ "emitDecoratorMetadata": true, "module": "commonjs", "moduleResolution": "node", - "strict": true, "outDir": "../../dist/all/", "noImplicitAny": true, "noFallthroughCasesInSwitch": true, "paths": { "selenium-webdriver": ["../../node_modules/@types/selenium-webdriver/index.d.ts"], "rxjs/*": ["../../node_modules/rxjs/*"], - "@angular/*": ["../../packages/*"], + "@angular/*": ["../../packages/*"] }, "rootDir": ".", "inlineSourceMap": true, diff --git a/modules/playground/tsconfig-e2e.json b/modules/playground/tsconfig-e2e.json index 56ae9f279d1..54e91048b9b 100644 --- a/modules/playground/tsconfig-e2e.json +++ b/modules/playground/tsconfig-e2e.json @@ -4,7 +4,6 @@ "types": ["node", "jasmine", "selenium-webdriver"], "module": "esnext", "moduleResolution": "nodenext", - "strict": true, "sourceMap": true, "declaration": true } diff --git a/modules/ssr-benchmarks/tsconfig.json b/modules/ssr-benchmarks/tsconfig.json index c10c792a741..486eb48234e 100644 --- a/modules/ssr-benchmarks/tsconfig.json +++ b/modules/ssr-benchmarks/tsconfig.json @@ -4,7 +4,6 @@ "compileOnSave": false, "compilerOptions": { "outDir": "./dist/out-tsc", - "strict": true, "noImplicitOverride": true, "noPropertyAccessFromIndexSignature": true, "noImplicitReturns": true, @@ -22,7 +21,6 @@ "angularCompilerOptions": { "enableI18nLegacyMessageIdFormat": false, "strictInjectionParameters": true, - "strictInputAccessModifiers": true, - "strictTemplates": true + "strictInputAccessModifiers": true } } diff --git a/modules/tsconfig.json b/modules/tsconfig.json index e4378b0e97b..ecf0619ece0 100644 --- a/modules/tsconfig.json +++ b/modules/tsconfig.json @@ -25,7 +25,6 @@ }, "exclude": ["payload_tests", "playground/", "benchmarks/"], "angularCompilerOptions": { - "strictTemplates": true, "skipTemplateCodegen": true } } diff --git a/packages/core/schematics/tsconfig.json b/packages/core/schematics/tsconfig.json index 6f343d82949..5771dc1dc17 100644 --- a/packages/core/schematics/tsconfig.json +++ b/packages/core/schematics/tsconfig.json @@ -1,6 +1,5 @@ { "compilerOptions": { - "strict": true, "noImplicitReturns": true, "noImplicitOverride": true, "noFallthroughCasesInSwitch": true, diff --git a/packages/core/test/acceptance/selectorless/tsconfig.json b/packages/core/test/acceptance/selectorless/tsconfig.json index 5d380d74e51..c3b9a66a549 100644 --- a/packages/core/test/acceptance/selectorless/tsconfig.json +++ b/packages/core/test/acceptance/selectorless/tsconfig.json @@ -4,7 +4,6 @@ "strict": true }, "angularCompilerOptions": { - "strictTemplates": true, "_enableSelectorless": true } } diff --git a/packages/language-service/test/legacy/language_service_spec.ts b/packages/language-service/test/legacy/language_service_spec.ts index cdc50c3e2c2..323674c51e6 100644 --- a/packages/language-service/test/legacy/language_service_spec.ts +++ b/packages/language-service/test/legacy/language_service_spec.ts @@ -35,7 +35,6 @@ describe('language service adapter', () => { it('should initialize with angularCompilerOptions from tsconfig.json', () => { expect(ngLS.getCompilerOptions()).toEqual( jasmine.objectContaining({ - strictTemplates: true, strictInjectionParameters: true, }), ); @@ -44,7 +43,6 @@ describe('language service adapter', () => { it('should reparse angularCompilerOptions on tsconfig.json change', () => { expect(ngLS.getCompilerOptions()).toEqual( jasmine.objectContaining({ - strictTemplates: true, strictInjectionParameters: true, }), ); diff --git a/packages/language-service/test/legacy/project/tsconfig.json b/packages/language-service/test/legacy/project/tsconfig.json index 84942609822..b37289b0158 100644 --- a/packages/language-service/test/legacy/project/tsconfig.json +++ b/packages/language-service/test/legacy/project/tsconfig.json @@ -3,7 +3,6 @@ "compilerOptions": { "stableTypeOrdering": true, "lib": ["es2015", "dom"], - "strict": true, "experimentalDecorators": true, "moduleResolution": "node", "target": "es2015", @@ -13,7 +12,6 @@ } }, "angularCompilerOptions": { - "strictTemplates": true, "strictInjectionParameters": true } } diff --git a/packages/tsconfig-build.json b/packages/tsconfig-build.json index 2325a6ec145..50569fdbebf 100644 --- a/packages/tsconfig-build.json +++ b/packages/tsconfig-build.json @@ -9,13 +9,10 @@ "stripInternal": true, "noImplicitAny": true, "noImplicitOverride": true, - "strictNullChecks": true, "stableTypeOrdering": true, "noImplicitReturns": true, "noPropertyAccessFromIndexSignature": true, "esModuleInterop": true, - "strict": true, - "strictPropertyInitialization": true, "noFallthroughCasesInSwitch": true, "moduleResolution": "bundler", "module": "esnext", @@ -46,8 +43,5 @@ "bazelOptions": { "suppressTsconfigOverrideWarnings": true }, - "angularCompilerOptions": { - "strictTemplates": true, - "typeCheckHostBindings": true - } + "angularCompilerOptions": {} } diff --git a/packages/tsconfig.json b/packages/tsconfig.json index f3cb6b081ca..88174e3a88a 100644 --- a/packages/tsconfig.json +++ b/packages/tsconfig.json @@ -9,14 +9,11 @@ "emitDecoratorMetadata": true, "module": "esnext", "target": "es2020", - "strict": true, "moduleResolution": "node", "esModuleInterop": true, - "strictNullChecks": true, "stableTypeOrdering": true, "noImplicitReturns": true, "noPropertyAccessFromIndexSignature": true, - "strictPropertyInitialization": true, "outDir": "../dist/all/@angular", "noImplicitAny": true, "noImplicitOverride": true, @@ -37,9 +34,7 @@ "bazelOptions": { "suppressTsconfigOverrideWarnings": true }, - "angularCompilerOptions": { - "strictTemplates": true - }, + "angularCompilerOptions": {}, "exclude": [ "common/locales", "compiler-cli/integrationtest", diff --git a/packages/zone.js/test/typings/tsconfig.json b/packages/zone.js/test/typings/tsconfig.json index e9454947485..fde7e532bc8 100644 --- a/packages/zone.js/test/typings/tsconfig.json +++ b/packages/zone.js/test/typings/tsconfig.json @@ -13,7 +13,6 @@ "moduleResolution": "Node16", "noEmitOnError": false, "stripInternal": false, - "strict": true, "lib": ["es5", "dom", "es2015.collection", "es2015.iterable", "es2015.promise", "es2022.object"] }, "files": ["./type.test.ts", "./node_modules/zone.js/zone.ts"] diff --git a/packages/zone.js/tsconfig.json b/packages/zone.js/tsconfig.json index 2873d926e6b..ab88ce566a2 100644 --- a/packages/zone.js/tsconfig.json +++ b/packages/zone.js/tsconfig.json @@ -10,7 +10,6 @@ "declaration": true, "noEmitOnError": false, "stripInternal": true, - "strict": true, "sourceMap": true, "noImplicitOverride": true, "lib": [ diff --git a/scripts/tsconfig.json b/scripts/tsconfig.json index fb0e817869c..1abe14af386 100644 --- a/scripts/tsconfig.json +++ b/scripts/tsconfig.json @@ -5,7 +5,6 @@ "lib": ["es2020"], "module": "Node16", "types": ["node"], - "strict": true, "noEmit": true, "skipLibCheck": true, "esModuleInterop": true, diff --git a/tools/symbol-extractor/symbol_extractor_spec/tsconfig.json b/tools/symbol-extractor/symbol_extractor_spec/tsconfig.json index c12cbba737a..f784437349d 100644 --- a/tools/symbol-extractor/symbol_extractor_spec/tsconfig.json +++ b/tools/symbol-extractor/symbol_extractor_spec/tsconfig.json @@ -1,6 +1,5 @@ { "compilerOptions": { - "strict": true, "module": "ESNext", "target": "ES2022", "sourceMap": true, diff --git a/tools/tsconfig.json b/tools/tsconfig.json index c317a66e241..df1625aef34 100644 --- a/tools/tsconfig.json +++ b/tools/tsconfig.json @@ -1,6 +1,5 @@ { "compilerOptions": { - "strict": true, "skipLibCheck": true, "declaration": true, "esModuleInterop": true, diff --git a/vscode-ng-language-service/integration/project/tsconfig.json b/vscode-ng-language-service/integration/project/tsconfig.json index 6c611a1ce8d..7cddc865924 100644 --- a/vscode-ng-language-service/integration/project/tsconfig.json +++ b/vscode-ng-language-service/integration/project/tsconfig.json @@ -3,7 +3,6 @@ "moduleResolution": "bundler", "experimentalDecorators": true, "target": "es2015", - "strict": true, "typeRoots": ["node_modules/@types"], "paths": { "post": ["./dist/post"] diff --git a/vscode-ng-language-service/tools/tsconfig.json b/vscode-ng-language-service/tools/tsconfig.json index 9b2421b7053..744838ed95a 100644 --- a/vscode-ng-language-service/tools/tsconfig.json +++ b/vscode-ng-language-service/tools/tsconfig.json @@ -4,7 +4,6 @@ "module": "node16", "moduleResolution": "node16", "types": ["node"], - "strict": true, "esModuleInterop": true, "skipLibCheck": true } diff --git a/vscode-ng-language-service/tsconfig.json b/vscode-ng-language-service/tsconfig.json index 97f8c5038c4..5562c88f065 100644 --- a/vscode-ng-language-service/tsconfig.json +++ b/vscode-ng-language-service/tsconfig.json @@ -6,7 +6,6 @@ "moduleResolution": "node", "types": ["node"], "sourceMap": true, - "strict": true, "esModuleInterop": true, "declaration": true, "skipLibCheck": true