summaryrefslogtreecommitdiffstats
path: root/devtools/client/performance-new/tsconfig.json
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-07 19:33:14 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-07 19:33:14 +0000
commit36d22d82aa202bb199967e9512281e9a53db42c9 (patch)
tree105e8c98ddea1c1e4784a60a5a6410fa416be2de /devtools/client/performance-new/tsconfig.json
parentInitial commit. (diff)
downloadfirefox-esr-36d22d82aa202bb199967e9512281e9a53db42c9.tar.xz
firefox-esr-36d22d82aa202bb199967e9512281e9a53db42c9.zip
Adding upstream version 115.7.0esr.upstream/115.7.0esrupstream
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.json28
1 files changed, 28 insertions, 0 deletions
diff --git a/devtools/client/performance-new/tsconfig.json b/devtools/client/performance-new/tsconfig.json
new file mode 100644
index 0000000000..f98b4b33d4
--- /dev/null
+++ b/devtools/client/performance-new/tsconfig.json
@@ -0,0 +1,28 @@
+{
+ "compilerOptions": {
+ "module": "commonjs",
+ // Set the baseUrl to the root of the project.
+ "baseUrl": "../../..",
+ "paths": {
+ "resource://devtools/*": ["devtools/*"]
+ },
+ // Make the type checking as strict as possible.
+ "strict": true,
+ // TypeScript will check JS files only if they have a @ts-check comment in them.
+ "allowJs": true,
+ // Only type check, don't emit files.
+ "noEmit": true,
+ // Allow esnext syntax. Otherwise the default is ES5 only.
+ "target": "esnext",
+ "lib": ["esnext", "dom"]
+ },
+ "files": ["./@types/gecko.d.ts"],
+ // Add a @ts-check comment to a JS file to start type checking it.
+ "include": ["./**/*.js"],
+ "exclude": [
+ // For some reason some test files were still being scanned, and creating
+ // transient errors. Manually exclude this directory until the tests are
+ // typed.
+ "./test"
+ ]
+}