Skip to content

Commit

Permalink
Merge pull request #611 from SuperViz/feat/io
Browse files Browse the repository at this point in the history
fix: build types
  • Loading branch information
Raspincel committed Mar 19, 2024
2 parents bc88c20 + 301b156 commit 024c04e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"postbuild": "./node_modules/typescript/bin/tsc --emitDeclarationOnly --declaration",
"watch": "concurrently -n code,types \"yarn watch:code\" \"yarn watch:types\"",
"watch:code": "node ./.esbuild/watch.js",
"watch:types": "./node_modules/typescript/bin/tsc --watch --outDir dist",
"watch:types": "./node_modules/typescript/bin/tsc --watch --out ./dist/index.d.ts",
"test:unit": "jest",
"test:unit:watch": "jest --watch",
"test:unit:coverage": "jest --coverage",
Expand Down
4 changes: 2 additions & 2 deletions tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"compilerOptions": {
"target": "ES2020",
"module": "ES2020",
"outDir": "./lib",
"outFile": "./lib/index.d.ts",
"lib": ["ES2020", "DOM"],
"preserveWatchOutput": true,
"emitDeclarationOnly": true,
Expand All @@ -14,7 +14,7 @@
"allowJs": true,
},
"include": [
"./src"
"./src/**/*.ts"
],
"exclude": [
"./src/**/*.test.ts",
Expand Down

0 comments on commit 024c04e

Please sign in to comment.