-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathtsconfig.json
38 lines (35 loc) · 1.7 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
{
/* inspired by https://github.com/marmelab/react-admin/blob/HEAD@%7B2019-10-20T17:02:44Z%7D/tsconfig.json */
"compilerOptions": {
/* Basic Options */
"target": "es5" /* Specify ECMAScript target version: 'es3' (default), 'es5', 'es2015', 'es2016', 'es2017','es2018' or 'esnext'. */,
"lib": ["es2015", "dom"],
"declaration": false /* Generates corresponding '.d.ts' file. (set to true in npm script) */,
"declarationMap": false /* Generates a sourcemap for each corresponding '.d.ts' file. (set to true in npm script) */,
"sourceMap": true /* Generates corresponding '.map' file. */,
"removeComments": false /* Do emit comments to output. */,
"jsx": "react" /* Specify JSX code generation: 'preserve', 'react-native', or 'react'. */,
/* Strict Type-Checking Options */
"noImplicitAny": true /* Raise error on expressions and declarations with an implied 'any' type. */,
/* Additional Checks */
"noUnusedLocals": true /* Report errors on unused locals. */,
"noUnusedParameters": true /* Report errors on unused parameters. */,
/* Module Resolution Options */
"moduleResolution": "node" /* Specify module resolution strategy: 'node' (Node.js) or 'classic' (TypeScript pre-1.6). */,
"esModuleInterop": true /* Enables emit interoperability between CommonJS and ES Modules via creation of namespace objects for all imports. Implies 'allowSyntheticDefaultImports'. */,
/* source structure and types */
"baseUrl": "./",
"typeRoots": ["node_modules/@types", "@types"]
},
"include": ["src", "@types"],
"exclude": [
"node_modules",
"**/dist",
"**/es",
"**/esm",
"**/lib",
"**/__mocks__",
"**/__tests__",
"**/__stories__"
]
}