-
Notifications
You must be signed in to change notification settings - Fork 0
/
tsconfig.json
48 lines (40 loc) · 1.32 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
41
42
43
44
45
46
47
48
{
"$schema": "https://json.schemastore.org/tsconfig",
"compilerOptions": {
"target": "ES2022",
"module": "NodeNext",
"lib": ["es2023", "dom"],
"baseUrl": "./",
"skipLibCheck": true,
"moduleResolution": "Node16",
"outDir": "./lib",
"sourceMap": true,
"declaration": true,
"declarationDir": "./lib/types",
"declarationMap": true,
// Use old decorators for the moment
// That is what lit recommends in https://lit.dev/docs/components/decorators/#compiler-output-considerations
// Also, it does not work out of the box with vitejs
"experimentalDecorators": true,
// Since we don't use standard decorators and accessor keyword we need this
// See https://lit.dev/docs/components/properties/#avoiding-issues-with-class-fields
"useDefineForClassFields": false,
"forceConsistentCasingInFileNames": true,
"strict": true,
"noImplicitAny": true,
"strictNullChecks": false,
"strictFunctionTypes": true,
"strictPropertyInitialization": false,
"noImplicitThis": true,
"alwaysStrict": true,
"noUnusedLocals": true,
"noUnusedParameters": true,
"noImplicitReturns": true,
"noFallthroughCasesInSwitch": true,
"resolveJsonModule": true
},
"include": ["test/**/*.js", "src/**/*"],
"typeAcquisition": {
"enable": false
}
}