Skip to content

Commit 1472be1

Browse files
committed
fix: only emit declaration files from tsc
The TypeScript compiler output was overwriting Babel's output which was breaking... you guessed it, the fucking `api/test` entrypoint. This should. fix. it. for. real.
1 parent cf29c4e commit 1472be1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/tsconfig.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@
55
"compilerOptions": {
66
"allowJs": true,
77
"checkJs": true,
8-
"declaration": true,
9-
"noEmit": false,
8+
"emitDeclarationOnly": true,
9+
"declarationMap": true,
1010
"outDir": "../dist",
1111
"rootDir": "."
1212
}

0 commit comments

Comments
 (0)