Skip to content

Commit 827a7ef

Browse files
committed
Fix ts config
Recently a change was made to add `declaration: true` to the `tsconfig.json`. This option generates the corresponding `d.ts` typing files. The `allowJs` option cannot be used with this new option, so it is being remove. We don’t actually need to directly compile js files, anyway, so this should affect nothing.
1 parent 7bf55f2 commit 827a7ef

File tree

1 file changed

+3
-9
lines changed

1 file changed

+3
-9
lines changed

tsconfig.json

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
{
22
"compilerOptions": {
3-
"allowJs": true,
43
"allowSyntheticDefaultImports": true,
54
"esModuleInterop": true,
65
"outDir": "dist",
@@ -9,11 +8,6 @@
98
"target": "es6",
109
"sourceMap": false
1110
},
12-
"include": [
13-
"src/**/*"
14-
],
15-
"exclude": [
16-
"node_modules",
17-
"**/*.test.js"
18-
]
19-
}
11+
"include": ["src/**/*"],
12+
"exclude": ["node_modules", "**/*.test.js"]
13+
}

0 commit comments

Comments
 (0)