Closed robinjoseph08 closed 2 months ago
Hmm, ok, I'll take a look at this. Thanks for reporting!
Still not working with V18 and countdown is not changing
I am seeing this as well when running:
$ tsc && vite build
node_modules/react-countdown/dist/Countdown.d.ts:5:47 - error TS2694: Namespace 'React' has no exported member 'Props'.
5 export interface CountdownProps extends React.Props<Countdown>, CountdownTimeDeltaFormatOptions, Omit<LegacyCountdownProps, 'onComplete'> {
~~~~~
Found 1 error in node_modules/react-countdown/dist/Countdown.d.ts:5
Same issue here.
It looks like the types might need to be updated for later versions of React. This is generated from a project using React v18.