Closed AaronJY closed 1 year ago
I was running into this error (https://github.com/yaodingyd/react-flickity-component/issues/149) reported by @minhquan1313, which relates to TS being unable to find the declaration types for the library.
This PR fixes this by specifically pointing to the types file "./src/index.d.ts"
"./src/index.d.ts"
Tested by altering the package.json in node_modules with my proposed fix, and the types are pulled in correctly now :)
node_modules
thanks!
I was running into this error (https://github.com/yaodingyd/react-flickity-component/issues/149) reported by @minhquan1313, which relates to TS being unable to find the declaration types for the library.
This PR fixes this by specifically pointing to the types file
"./src/index.d.ts"
Tested by altering the package.json in
node_modules
with my proposed fix, and the types are pulled in correctly now :)