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 <[email protected]> Co-authored-by: Yao Ding <[email protected]>
1 parent c5aea1f commit 8e6a090

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
@@ -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)