Skip to content

Commit

Permalink
fix typescript types generation path
Browse files Browse the repository at this point in the history
  • Loading branch information
notsidney committed Apr 12, 2022
1 parent c312e8a commit 84f83ec
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 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 @@
"require": "./dist/index.cjs",
"default": "./dist/index.modern.js"
},
"types": "./dist/src/src/index.d.ts",
"types": "./dist/src/index.d.ts",
"main": "./dist/index.cjs",
"module": "./dist/index.module.js",
"unpkg": "./dist/index.umd.js",
Expand Down
4 changes: 3 additions & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,9 @@
"target": "ESNext",
"strict": true,
"forceConsistentCasingInFileNames": true,
"moduleResolution": "node"
"moduleResolution": "node",
"declaration": true,
"declarationDir": "./dist"
},
"include": ["src", "types"]
}

0 comments on commit 84f83ec

Please sign in to comment.