Closed TK-21st closed 3 years ago
Hey @TK-21st, thank you for reporting. Did you open an issue on https://github.com/DefinitelyTyped/DefinitelyTyped?
React.ReactText has for definition:
type ReactText = string | number;
So the use of a type coming from csstype is weird.
Which version of typescript are you using? Did you try by forcing @types/react to be lesser than 16.9.44 to see if it works?
Closing this one as stalled.
The react dependency seems to have bumped
csstype
to3.x
and it's breaking the compilation.This seems to be coming from
React.ReactText
, which leads to the following typescript compilation errors: