-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtsconfig.json
23 lines (23 loc) · 1.5 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
{
"compilerOptions": {
"allowJs": true /* Allows javascript files to be part of our code */,
"esModuleInterop": true /* Emit additional JavaScript to ease support for importing CommonJS modules. This enables `allowSyntheticDefaultImports` for type compatibility */,
"baseUrl": "./src" /* Specifies the base directory to resolve non-relative module names */,
"paths": {
/* This one specifies a set of entries to re-map imports */ "~/*": ["./*"]
},
"module": "commonjs" /* Specifies which module code is generated */,
"target": "es5" /* Sets the javascript version of the emitted typescript */,
"lib": ["es2021"] /* Specify a set of bundled library declaration files that describe the target runtime environment */,
"outDir": "build" /* Speficies the folder for the emitted code */,
"strict": true /* Enables all the strict type-checking options */,
"noImplicitAny": false /* Enables errors with expressions using 'any' */,
"resolveJsonModule": true /* Enables importing json files */,
"moduleResolution": "node" /* Specifies how typescript looks up a file for a given module */,
"forceConsistentCasingInFileNames": true /* Ensure that casing is okay in imports */,
"typeRoots": ["./global.d.ts", "./node_modules/@types"]
},
"compileOnSave": true /* Enables compile on save for this project */,
"include": [/* Specifies the files which will be compiled */ "src/**/*"],
"exclude": [/* Speficies the files which will be excluded from the build */ "node_modules"]
}