diff --git a/src/compiler/tsconfig.json b/src/compiler/tsconfig.json index c7395a0c8d..cf0c27aaa1 100644 --- a/src/compiler/tsconfig.json +++ b/src/compiler/tsconfig.json @@ -5,7 +5,9 @@ "compilerOptions": { "lib": ["es2017", "webworker"], "allowJs": true, - "checkJs": true + "checkJs": true, + // silences wrong TS error, we don't compile, we only typecheck + "outDir": "./irrelevant/unused" // TODO: remove mocha types from the whole project // "types": ["node", "estree"] diff --git a/tsconfig.json b/tsconfig.json index 07813fb1fd..ab4785e748 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -9,6 +9,9 @@ "lib": ["es2017", "DOM", "DOM.Iterable"], "target": "es2017", + // silences wrong TS error, we don't compile, we only typecheck + "outDir": "./irrelevant/unused", + "declaration": true, "declarationDir": "types",