Skip to content

Commit

Permalink
Update package.json
Browse files Browse the repository at this point in the history
Add types in exports. This was done as type script started to show errors. 

ref: 
modernweb-dev/web#2094
microsoft/TypeScript#52363
  • Loading branch information
Kuncheria-Kuruvilla committed Nov 12, 2023
1 parent 4cd3e9e commit 01afe32
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 @@ -61,6 +61,7 @@
],
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/fancy-text.es.js",
"require": "./dist/fancy-text.umd.js"
},
Expand Down

0 comments on commit 01afe32

Please sign in to comment.