-
Notifications
You must be signed in to change notification settings - Fork 0
/
tsconfig.json
30 lines (30 loc) · 918 Bytes
/
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
{
// Change this to match your project
"include": ["src/**/*"],
"exclude": ["lib", "scripts", "src/**/*.test.*", "jest", "node_modules"],
"compilerOptions": {
"module": "commonjs",
"target": "es6",
"rootDir": "./src",
"resolveJsonModule": true,
"allowSyntheticDefaultImports": true,
"moduleResolution": "node",
"forceConsistentCasingInFileNames": true,
"noImplicitReturns": true,
"suppressImplicitAnyIndexErrors": true,
"noUnusedLocals": true,
"skipLibCheck": true,
"experimentalDecorators": true,
"esModuleInterop": true,
"strict": true,
// Tells TypeScript to read JS files, as
// normally they are ignored as source files
"allowJs": true,
// Generate d.ts files
"declaration": true,
// Types should go into this directory.
// Removing this would place the .d.ts files
// next to the .js files
"outDir": "lib"
}
}