Skip to content

Commit

Permalink
Patch package.json to fix TS type exports. (#150)
Browse files Browse the repository at this point in the history
* fix: typescript export

* use top level types

* format

---------

Co-authored-by: Aaron Yarborough <aaron@alienjungle.digital>
Co-authored-by: Yao Ding <yaodingyd@users.noreply.github.com>
  • Loading branch information
3 people committed Oct 13, 2023
1 parent c5aea1f commit 8e6a090
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 @@ -10,6 +10,7 @@
"module": "./dist/react-flickity-component.es.js",
"exports": {
".": {
"types": "./src/index.d.ts",
"import": "./dist/react-flickity-component.es.js",
"require": "./dist/react-flickity-component.umd.js"
}
Expand Down

0 comments on commit 8e6a090

Please sign in to comment.