-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathtsconfig.json
22 lines (22 loc) · 1.67 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
{
"compilerOptions": {
"allowJs": true, /* Allow javascript files to be compiled. */
"checkJs": true, /* Report errors in .js files. */
"declaration": true, /* Generates corresponding '.d.ts' file. */
"emitDeclarationOnly": true,
"declarationMap": false, /* Generates a sourcemap for each corresponding '.d.ts' file. */
"forceConsistentCasingInFileNames": true, /* Disallow inconsistently-cased references to the same file. */
"module": "es2020", /* Specify module code generation: 'none', 'commonjs', 'amd', 'system', 'umd', 'es2015', 'es2020', or 'ESNext'. */
"outDir": "./types/", /* Redirect output structure to the directory. */
"removeComments": false, /* Emit comments to output. */
"rootDir": "./lib", /* Specify the root directory of input files. Use to control the output directory structure with --outDir. */
"skipLibCheck": true, /* Skip type checking of declaration files. */
"sourceMap": false, /* Generates corresponding '.map' file. */
"strict": true, /* Enable all strict type-checking options. */
"target": "es2020", /* Specify ECMAScript target version: 'ES3' (default), 'ES5', 'ES2015', 'ES2016', 'ES2017', 'ES2018', 'ES2019', 'ES2020', or 'ESNEXT'. */
"moduleResolution": "node",
"allowSyntheticDefaultImports": true,
"noEmitOnError": true,
},
"include": ["./lib/index.js"]
}