Skip to content

Commit 177870a

Browse files
committed
fix(build): Change incorrect config in tsconfig.json
1 parent d05e429 commit 177870a

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

flake.nix

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,8 @@
2727
mkShell {
2828
packages =
2929
[
30+
gh
31+
jq
3032
nodejs
3133
typescript
3234
yarn-berry

tsconfig.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -56,8 +56,8 @@
5656
"sourceMap": true, /* Create source map files for emitted JavaScript files. */
5757
// "inlineSourceMap": true, /* Include sourcemap files inside the emitted JavaScript. */
5858
// "outFile": "./", /* Specify a file that bundles all outputs into one JavaScript file. If 'declaration' is true, also designates a file that bundles all .d.ts output. */
59-
"outDir": "dist-types", /* Specify an output folder for all emitted files. */
60-
"rootDir": "src",
59+
"outDir": "dist", /* Specify an output folder for all emitted files. */
60+
"rootDir": "./",
6161

6262
"emitDeclarationOnly": true, // Optional: Only emit declaration files without compiling JavaScript
6363
"skipLibCheck": true, // Optional: Skips checking types of .d.ts files
@@ -77,7 +77,7 @@
7777
// "noEmitHelpers": true, /* Disable generating custom helper functions like '__extends' in compiled output. */
7878
// "noEmitOnError": true, /* Disable emitting files if any type checking errors are reported. */
7979
// "preserveConstEnums": true, /* Disable erasing 'const enum' declarations in generated code. */
80-
// "declarationDir": "./", /* Specify the output directory for generated declaration files. */
80+
"declarationDir": "dist-types", /* Specify the output directory for generated declaration files. */
8181
// "preserveValueImports": true, /* Preserve unused imported values in the JavaScript output that would otherwise be removed. */
8282

8383
/* Interop Constraints */

0 commit comments

Comments
 (0)