Skip to content

Commit

Permalink
fix(ts): types near built files (#354)
Browse files Browse the repository at this point in the history
  • Loading branch information
gjuchault authored Mar 22, 2023
1 parent 3a06fcd commit b33504c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"repository": "gjuchault/typescript-library-starter",
"type": "module",
"exports": "./build/index.js",
"types": "./build/src/index.d.ts",
"types": "./build/index.d.ts",
"license": "MIT",
"engines": {
"node": "^18.15.0",
Expand Down
2 changes: 1 addition & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"target": "es2022",
"moduleResolution": "nodenext",

"rootDir": "./",
"rootDir": "./src",
"outDir": "build",

"strict": true,
Expand Down

0 comments on commit b33504c

Please sign in to comment.