-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtsconfig.json
40 lines (35 loc) · 1.25 KB
/
tsconfig.json
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
36
37
38
39
40
{ // https://www.typescriptlang.org/tsconfig
// Specifies an allowlist of files to include in the program.
// An error occurs if any of the files can’t be found.
// This is useful when you only have a small number of files and don’t need
// to use a glob to reference many files. If you need that then use include.
"files": [
"src/index.ts"
],
"include": [
"src/**/*.tsx",
"src/**/*.ts"
],
"compilerOptions": {
"allowUmdGlobalAccess": true,
"declaration": true,
"esModuleInterop": true,
"jsx": "react-jsx",
"lib": [
"DOM", // NOTE: This ChildNode differs from the one in domhandler npm module.
"ES2015"
],
"module": "preserve",
"moduleResolution": "bundler",
"paths": {
// "@enonic-types/core": ["../xp/modules/lib/core/index.d.ts"],
// "/lib/xp/content": ["../xp/modules/lib/lib-content/src/main/resources/lib/xp/content.ts"],
// "/lib/xp/portal": ["../xp/modules/lib/lib-portal/src/main/resources/lib/xp/portal.ts"],
},
// Even though the setting disables type checking for d.ts files,
// TypeScript still type checks the code you specifically
// refer to in your application's source code.
"skipLibCheck": true,
"strictNullChecks": true
}
}