-
-
Notifications
You must be signed in to change notification settings - Fork 14
Expand file tree
/
Copy pathtsconfig.server.json
More file actions
18 lines (18 loc) · 780 Bytes
/
tsconfig.server.json
File metadata and controls
18 lines (18 loc) · 780 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
{
"include": ["src/server"], // compile TS files in server directory
"compilerOptions": {
"module": "commonjs", // classic format that Node.js understands
"esModuleInterop": true, // allow imports of modules in ES format
"skipLibCheck": true, // only check types we refer to from our code
"forceConsistentCasingInFileNames": true, // prevents cross-OS problems
"resolveJsonModule": true, // enable import of JSON files
"lib": ["es6", "dom"], // use JavaScript API ES6
"target": "es6", // compile to ES6
"jsx": "react", // compile JSX to React.createElement statements for SSR
"allowJs": true, // allow import of JS modules
// enable strict type checking
"strict": true,
"strictNullChecks": true,
"noImplicitAny": true
}
}