Skip to content

Commit 8e6a090

Browse files
AaronJYAaron Yarboroughyaodingyd
authored
Patch package.json to fix TS type exports. (#150)
* 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>
1 parent c5aea1f commit 8e6a090

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
"module": "./dist/react-flickity-component.es.js",
1111
"exports": {
1212
".": {
13+
"types": "./src/index.d.ts",
1314
"import": "./dist/react-flickity-component.es.js",
1415
"require": "./dist/react-flickity-component.umd.js"
1516
}

0 commit comments

Comments
 (0)