-
-
Notifications
You must be signed in to change notification settings - Fork 313
Expand file tree
/
Copy pathtsconfig.json
More file actions
16 lines (16 loc) · 627 Bytes
/
tsconfig.json
File metadata and controls
16 lines (16 loc) · 627 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
{
"compilerOptions": {
"baseUrl": "src",
"module": "commonjs", // must be 'amd' or 'system' to use 'outFile'
"lib": ["es2015", "dom", "es5", "es6"], // must include some of these to suppress certain errors; adds the 'Set' type
"jsx": "react", // compile jsx to js
"sourceMap": true, // ensure debuggable
"moduleResolution": "node", // suppresses issue with `default` or `export`
"esModuleInterop": true,
"allowSyntheticDefaultImports" : true,
"noImplicitAny": true,
"outDir": "./dist"
},
"include": ["next-env.d.ts", "**/*.ts", "**/*.tsx"],
"exclude": ["node_modules", "dist"]
}