mirror of
https://github.com/angular/angular
synced 2026-05-24 09:28:37 +00:00
Replace the manual injectorsSeen cleanup mechanism with WeakRef and FinalizationRegistry. The old approach worked but coupled cleanup to the UI change detection and required tracking seen injectors across traversal. WeakRef lets the browser handle this naturally, removing the injectorsSeen set and the manual cleanup loop.
29 lines
780 B
JSON
29 lines
780 B
JSON
{
|
|
"compilerOptions": {
|
|
"sourceMap": true,
|
|
"inlineSources": true,
|
|
"declaration": true,
|
|
"strict": true,
|
|
"noImplicitReturns": true,
|
|
"noPropertyAccessFromIndexSignature": true,
|
|
"downlevelIteration": true,
|
|
"experimentalDecorators": true,
|
|
"allowSyntheticDefaultImports": true,
|
|
"module": "esnext",
|
|
"moduleResolution": "bundler",
|
|
"esModuleInterop": true,
|
|
"importHelpers": true,
|
|
"target": "es2022",
|
|
"lib": ["es2022", "dom", "dom.iterable"],
|
|
"types": ["chrome"],
|
|
// TODO: Have an IDE specific tsconfig file
|
|
"paths": {
|
|
"@angular/*": ["../packages/*/index"]
|
|
}
|
|
},
|
|
"angularCompilerOptions": {
|
|
"strictTemplates": true,
|
|
"strictInjectionParameters": true,
|
|
"unusedStandaloneImports": "error"
|
|
}
|
|
}
|