angular/devtools/tsconfig.json
Aleksander Bodurri c88e2149e4 refactor(devtools): use WeakRef in idToInjector map for injector cleanup
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.

(cherry picked from commit 84d757446b)
2026-05-12 11:37:13 -07:00

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"
}
}