angular/devtools/tsconfig.json
Aleksander Bodurri 84d757446b 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.
2026-05-12 11:37:07 -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"
}
}