summaryrefslogtreecommitdiffstats
path: root/devtools/client/performance-new/tsconfig.json
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-15 03:34:42 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-15 03:34:42 +0000
commitda4c7e7ed675c3bf405668739c3012d140856109 (patch)
treecdd868dba063fecba609a1d819de271f0d51b23e /devtools/client/performance-new/tsconfig.json
parentAdding upstream version 125.0.3. (diff)
downloadfirefox-da4c7e7ed675c3bf405668739c3012d140856109.tar.xz
firefox-da4c7e7ed675c3bf405668739c3012d140856109.zip
Adding upstream version 126.0.upstream/126.0
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'devtools/client/performance-new/tsconfig.json')
-rw-r--r--devtools/client/performance-new/tsconfig.json7
1 files changed, 6 insertions, 1 deletions
diff --git a/devtools/client/performance-new/tsconfig.json b/devtools/client/performance-new/tsconfig.json
index f98b4b33d4..80bababd37 100644
--- a/devtools/client/performance-new/tsconfig.json
+++ b/devtools/client/performance-new/tsconfig.json
@@ -14,7 +14,12 @@
"noEmit": true,
// Allow esnext syntax. Otherwise the default is ES5 only.
"target": "esnext",
- "lib": ["esnext", "dom"]
+ "lib": ["esnext", "dom"],
+ // Make sure that only this project is taken into account when checking types.
+ // In the future we'll want to use the same types as in the rest of Gecko, but
+ // that's not ready yet.
+ // See Bug 1891209
+ "typeRoots": ["./@types", "./node_modules/@types"]
},
"files": ["./@types/gecko.d.ts"],
// Add a @ts-check comment to a JS file to start type checking it.