-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathtsconfig.json
19 lines (19 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
{
"compilerOptions": {
"target": "es5",
"lib": ["dom", "es2015"],
"strict": true, /* Enable all strict type-checking options. */
"alwaysStrict": true, /* Parse in strict mode and emit "use strict" for each source file. */
"module": "commonjs", /* Specify module code generation: 'none', 'commonjs', 'amd', 'system', 'umd', 'es2015', or 'ESNext'. */
"esModuleInterop": true, /* Enables emit interoperability between CommonJS and ES Modules via creation of namespace objects for all imports. Implies 'allowSyntheticDefaultImports'. */
"moduleResolution": "node", /* Specify module resolution strategy: 'node' (Node.js) or 'classic' (TypeScript pre-1.6). */
"allowSyntheticDefaultImports": true, /* Allow default imports from modules with no default export. This does not affect code emit, just typechecking. */
"jsx": "react",
"declaration": true, /* Generates corresponding '.d.ts' file. */
"outDir": "./dist",
"removeComments": true,
"sourceMap": true, /* Generates corresponding '.map' file. */
},
"include": ["src/**/*"],
"exclude": ["node_modules", "src/index.tsx", "src/App.tsx"]
}