-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathtsconfig.json
29 lines (28 loc) · 1.06 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
{
"$schema": "http://json.schemastore.org/tsconfig",
"compilerOptions": {
"emitDecoratorMetadata": true,
"experimentalDecorators": true,
"noImplicitAny": true,
"noUnusedLocals": true,
"noUnusedParameters": true,
"noImplicitThis": false,
"noEmitOnError": true,
"strictNullChecks": true,
"resolveJsonModule": true,
"strict": true,
"alwaysStrict": true,
"strictPropertyInitialization": true,
"esModuleInterop": true,
"rootDir": ".",
"module": "commonjs", // Use commonjs for compatibility
"moduleResolution": "node",
"target": "es2019",
"outDir": "dist", // The javascript will be compiled to this folder.
"sourceMap": true,
"declaration": true, // To share typescript across modules, Typescript will then also export type definitions together with the compiled javascript code so the package can be used with both Typescript and Javascript.
"downlevelIteration" : true
},
"include": ["src", "test", "index.ts"], //All source files in the src folder
"exclude": ["node_modules/**", "**/*.d.ts"]
}