angular/devtools/tsconfig.json
AleksanderBodurri d15dca054c fix(devtools): issue where backendReady race condition causes Angular not detected error (#54805)
Previously, a race condition could cause DevTools to enter a state where it can't detect an application on reload. This was caused by a sequencing issue between the content script connection, the devtools panel connection and an event "backendReady" that lets DevTools know when a particular frame is ready to be inspected.

This commit replaces the previously stored backendReady boolean with a promise, so that the devtools panel can eventually run a callback to connect to a content script when that content script emits it's backendReady message.

PR Close #54805
2024-03-26 09:19:06 -07:00

51 lines
1.3 KiB
JSON

{
"compileOnSave": false,
"compilerOptions": {
"baseUrl": "../",
"outDir": "bazel-out/darwin-fastbuild/bin",
"sourceMap": true,
"declaration": true,
"strict": true,
"noImplicitReturns": true,
"noPropertyAccessFromIndexSignature": true,
"downlevelIteration": true,
"experimentalDecorators": true,
"allowSyntheticDefaultImports": true,
"module": "esnext",
"moduleResolution": "node",
"esModuleInterop": true,
"importHelpers": true,
"target": "es2020",
"lib": ["es2020", "dom", "dom.iterable"],
"typeRoots": [
"./devtools/node_modules/@types",
],
"types": [
"angular",
"jasmine",
"node"
],
"paths": {
"@angular/*": [
"./packages/*",
"./dist/bin/packages/*"
],
"ng-devtools": [
"./devtools/projects/ng-devtools/src/public-api.ts",
],
"ng-devtools-backend": [
"./devtools/projects/ng-devtools-backend/src/public-api.ts",
],
"protocol": [
"./devtools/projects/protocol/src/public-api.ts",
],
"shared-utils": [
"./devtools/projects/shared-utils/src/public-api.ts",
]
},
},
"angularCompilerOptions": {
"strictTemplates": true,
"strictInjectionParameters": true
}
}