Skip to content

Commit f09a942

Browse files
committed
silence wrong tsconfig errors
1 parent 0467219 commit f09a942

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

src/compiler/tsconfig.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,9 @@
55
"compilerOptions": {
66
"lib": ["es2017", "webworker"],
77
"allowJs": true,
8-
"checkJs": true
8+
"checkJs": true,
9+
// silences wrong TS error, we don't compile, we only typecheck
10+
"outDir": "./irrelevant/unused"
911

1012
// TODO: remove mocha types from the whole project
1113
// "types": ["node", "estree"]

tsconfig.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,9 @@
99
"lib": ["es2017", "DOM", "DOM.Iterable"],
1010
"target": "es2017",
1111

12+
// silences wrong TS error, we don't compile, we only typecheck
13+
"outDir": "./irrelevant/unused",
14+
1215
"declaration": true,
1316
"declarationDir": "types",
1417

0 commit comments

Comments
 (0)