-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtsconfig.json
16 lines (16 loc) · 1.02 KB
/
tsconfig.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
{
"compilerOptions": {
"target": "es5",
"module": "CommonJS", // Include imports/exports in the transpiled Javascript
"esModuleInterop": true,
"moduleResolution": "node", // Use the locally installed Node modules
"lib": ["es6", "dom", "es2017"],
"types": [ "node", "jest" ], // Types that will be used in the project
"noEmit": false, // Don't emit Javascript files on compilation
"typeRoots": [ "../node_modules/@types" ],
"sourceMap": true, // Generates a map file that allows us to see the "non-minified" code when debugging
"noUnusedParameters": true, // Warns when a function parameter is not used
"noImplicitReturns": true, // Enforce always adding types to function inputs
"removeComments": false, // Remove comments from the transpiled JS file
}
}