Skip to content

Commit

Permalink
fix: cannot find module TypeScript error
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
kleinfreund committed Nov 23, 2023
1 parent c1bc7bd commit 9872519
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@
},
"./styles": "./dist/ColorPicker.css"
},
"types": "./dist/ColorPicker.d.ts",
"files": [
"dist/ColorPicker.css",
"dist/ColorPicker.js",
Expand Down

0 comments on commit 9872519

Please sign in to comment.