diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-19 00:47:55 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-19 00:47:55 +0000 |
commit | 26a029d407be480d791972afb5975cf62c9360a6 (patch) | |
tree | f435a8308119effd964b339f76abb83a57c29483 /devtools/tsconfig.json | |
parent | Initial commit. (diff) | |
download | firefox-26a029d407be480d791972afb5975cf62c9360a6.tar.xz firefox-26a029d407be480d791972afb5975cf62c9360a6.zip |
Adding upstream version 124.0.1.upstream/124.0.1
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'devtools/tsconfig.json')
-rw-r--r-- | devtools/tsconfig.json | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/devtools/tsconfig.json b/devtools/tsconfig.json new file mode 100644 index 0000000000..ce82b3a328 --- /dev/null +++ b/devtools/tsconfig.json @@ -0,0 +1,24 @@ +{ + "compilerOptions": { + "module": "commonjs", + // Set the baseUrl to the root of the project. + "baseUrl": "..", + // 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"] + }, + // Add a @ts-check comment to a JS file to start type checking it. + "include": ["./**/*.js", "./**/*.jsx"], + "exclude": [ + "./client/debugger", + "./client/shared/vendor", + "./**/node_modules", + "./**/test" + ] +} |