Skip to content

Commit 5623be7

Browse files
authored
fix: add "types" to "exports" in package.json (#817)
1 parent 02d7eca commit 5623be7

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

package.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,8 @@
1616
"exports": {
1717
"import": "./dist/signature_pad.js",
1818
"require": "./dist/signature_pad.umd.js",
19-
"default": "./dist/signature_pad.umd.js"
19+
"default": "./dist/signature_pad.umd.js",
20+
"types": "./dist/types/signature_pad.d.ts"
2021
},
2122
"scripts": {
2223
"build": "yarn run lint && yarn run clean && rollup --config && yarn run emit-types && yarn run update-docs",

0 commit comments

Comments
 (0)