Skip to content

Commit

Permalink
fix(build): Change incorrect config in tsconfig.json
Browse files Browse the repository at this point in the history
  • Loading branch information
tembleking committed Sep 30, 2024
1 parent d05e429 commit 177870a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
2 changes: 2 additions & 0 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@
mkShell {
packages =
[
gh
jq
nodejs
typescript
yarn-berry
Expand Down
6 changes: 3 additions & 3 deletions tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -56,8 +56,8 @@
"sourceMap": true, /* Create source map files for emitted JavaScript files. */
// "inlineSourceMap": true, /* Include sourcemap files inside the emitted JavaScript. */
// "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. */
"outDir": "dist-types", /* Specify an output folder for all emitted files. */
"rootDir": "src",
"outDir": "dist", /* Specify an output folder for all emitted files. */
"rootDir": "./",

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

/* Interop Constraints */
Expand Down

0 comments on commit 177870a

Please sign in to comment.