Skip to content

Commit 9872519

Browse files
committed
fix: cannot find module TypeScript error
Adds the types field back to the package.json file to prevent the "Cannot find module 'yet-another-color-picker' or its corresponding type declarations." error.
1 parent c1bc7bd commit 9872519

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@
2929
},
3030
"./styles": "./dist/ColorPicker.css"
3131
},
32+
"types": "./dist/ColorPicker.d.ts",
3233
"files": [
3334
"dist/ColorPicker.css",
3435
"dist/ColorPicker.js",

0 commit comments

Comments
 (0)