diff options
Diffstat (limited to 'subprojects/frontend/tsconfig.base.json')
-rw-r--r-- | subprojects/frontend/tsconfig.base.json | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/subprojects/frontend/tsconfig.base.json b/subprojects/frontend/tsconfig.base.json index 30e707ae..58a2a6f2 100644 --- a/subprojects/frontend/tsconfig.base.json +++ b/subprojects/frontend/tsconfig.base.json | |||
@@ -1,3 +1,13 @@ | |||
1 | /* | ||
2 | * Copyright (c) Microsoft Corporation. | ||
3 | * Copyright (c) 2023 The Refinery Authors <https://refinery.tools/> | ||
4 | * | ||
5 | * SPDX-License-Identifier: MIT OR EPL-2.0 | ||
6 | * | ||
7 | * This file is based on | ||
8 | * https://github.com/tsconfig/bases/blob/7db25a41bc5a9c0f66d91f6f3aa28438afcb2f18/bases/strictest.json | ||
9 | * but we moved it inside the project for better tooling support. | ||
10 | */ | ||
1 | { | 11 | { |
2 | "compilerOptions": { | 12 | "compilerOptions": { |
3 | "strict": true, | 13 | "strict": true, |
@@ -11,6 +21,8 @@ | |||
11 | "noUncheckedIndexedAccess": true, | 21 | "noUncheckedIndexedAccess": true, |
12 | "noUnusedLocals": true, | 22 | "noUnusedLocals": true, |
13 | "noUnusedParameters": true, | 23 | "noUnusedParameters": true, |
24 | // "verbatimModuleSyntax" is incompatible with `import` syntax in modules | ||
25 | // with CommonJS import resolution, so we use "isolatedModules" only. | ||
14 | "verbatimModuleSyntax": false, | 26 | "verbatimModuleSyntax": false, |
15 | "isolatedModules": true, | 27 | "isolatedModules": true, |
16 | "checkJs": true, | 28 | "checkJs": true, |
@@ -18,6 +30,7 @@ | |||
18 | "skipLibCheck": true, | 30 | "skipLibCheck": true, |
19 | "forceConsistentCasingInFileNames": true, | 31 | "forceConsistentCasingInFileNames": true, |
20 | "useDefineForClassFields": true, | 32 | "useDefineForClassFields": true, |
33 | // Project-specific configuration below. | ||
21 | "module": "es2022", | 34 | "module": "es2022", |
22 | "moduleResolution": "node", | 35 | "moduleResolution": "node", |
23 | "incremental": true, | 36 | "incremental": true, |