-
Notifications
You must be signed in to change notification settings - Fork 10
Expand file tree
/
Copy pathtsconfig.base.json
More file actions
35 lines (30 loc) · 1006 Bytes
/
tsconfig.base.json
File metadata and controls
35 lines (30 loc) · 1006 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
{
"compilerOptions": {
"outDir": "./lib",
"moduleResolution": "node16",
"module": "node16",
"target": "es2022",
// DOM is required because the WebAssembly type required by sax-wasm
// is only provided in that library (https://github.com/microsoft/TypeScript-DOM-lib-generator/issues/826)
"lib": ["ES2022", "DOM"],
"strict": true,
"sourceMap": true,
// Allow JS in order to check the JSTokenizer
"allowJs": true,
// Generate d.ts files
"declaration": true,
// Avoid failing builds due to external dependency declaration file issues
// TODO: Remove once "fast-xml-parser" is compatible with the current TypeScript configuration
"skipLibCheck": true,
// Limit the set of types since we don't want to validate the UI5 types required for linting
// (i.e. @sapui5/types, jquery, three). For the lack of an exclude option, we use include.
"types": [
"he",
"node",
"sinon",
"yargs",
"@ui5-language-assistant/semantic-model-types",
"sax-wasm",
]
}
}