Skip to content

Commit 7b0d7ee

Browse files
Solve tsc issue transpiling already transpiled code
1 parent a97eb1f commit 7b0d7ee

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tsconfig.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"target": "es5" /* Specify ECMAScript target version: 'ES3' (default), 'ES5', 'ES2015', 'ES2016', 'ES2017', 'ES2018', 'ES2019' or 'ESNEXT'. */,
66
"module": "commonjs" /* Specify module code generation: 'none', 'commonjs', 'amd', 'system', 'umd', 'es2015', or 'ESNext'. */,
77
// "lib": [], /* Specify library files to be included in the compilation. */
8-
// "allowJs": true, /* Allow javascript files to be compiled. */
8+
"allowJs": false, /* Allow javascript files to be compiled. */
99
// "checkJs": true, /* Report errors in .js files. */
1010
"jsx": "react" /* Specify JSX code generation: 'preserve', 'react-native', or 'react'. */,
1111
"declaration": true /* Generates corresponding '.d.ts' file. */,
@@ -64,6 +64,7 @@
6464
"forceConsistentCasingInFileNames": true /* Disallow inconsistently-cased references to the same file. */
6565
},
6666
"exclude": [
67+
"dist/",
6768
"node_modules",
6869
"src/**/*.test.*"
6970
]

0 commit comments

Comments
 (0)