Closed riceboyler closed 2 years ago
Simply adds children as an explicit prop to CarouselProps in index.d.ts, since that's what TypeScript is using as its type definition.
children
CarouselProps
index.d.ts
Fixes #889
Please delete options that are not relevant.
Tested with installing this version on https://github.com/riceboyler/nuka-types and it resolved the Typescript error.
The latest updates on your projects. Learn more about Vercel for Git ↗︎
Description
Simply adds
children
as an explicit prop toCarouselProps
inindex.d.ts
, since that's what TypeScript is using as its type definition.Fixes #889
Type of Change
Please delete options that are not relevant.
Testing
Tested with installing this version on https://github.com/riceboyler/nuka-types and it resolved the Typescript error.