-
-
Notifications
You must be signed in to change notification settings - Fork 8
/
tsconfig.json
23 lines (23 loc) · 1.28 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": {
/* Basic Options */
"target": "es2018",
"lib": ["es2018", "dom"], /* Specify library files to be included in the compilation. */
"allowJs": true, /* Allow javascript files to be compiled. */
"checkJs": true, /* Report errors in .js files. */
// "jsx": "preserve", /* Specify JSX code generation: 'preserve', 'react-native', or 'react'. */
"declaration": true, /* Generates corresponding '.d.ts' file. */
"declarationMap": true, /* Generates a sourcemap for each corresponding '.d.ts' file. */
// "outFile": "./index.js", /* Concatenate and emit output to single file. */
"outDir": "dist", // this is overritten by `npm run types`
"baseUrl": "./", /* Base directory to resolve non-absolute module names. */
// "rootDir": "./", /* Specify the root directory of input files. Use to control the output directory structure with --outDir. */
"emitDeclarationOnly": true,
"strict": true,
"noImplicitAny": true,
"moduleResolution": "node",
"allowSyntheticDefaultImports": true
},
"include": ["./*.js"],
"exclude": ["./dist"]
}