yaodingyd / react-flickity-component

A React.js component for using @desandro's Flickity
314 stars 51 forks source link

v4 does not include TypeScript type definitions #140

Closed gpoole closed 1 year ago

gpoole commented 1 year ago

In v3 the .d.ts files were included in the published module, but they seem to be missing in the updated version. This is the complete directory tree of node_modules/react-flickity-component after installing @latest:

node_modules/react-flickity-component
├── README.md
├── dist
│   ├── react-flickity-component.es.js
│   ├── react-flickity-component.es.js.map
│   ├── react-flickity-component.umd.js
│   └── react-flickity-component.umd.js.map
└── package.json

2 directories, 6 files

Type information is not available because of this issue.

yaodingyd commented 1 year ago

fixed in v4.0.3