Closed nandorojo closed 2 years ago
It looks like makeTheme is returning any with TS 4.7. I think the solution is to add the new in keyword:
makeTheme
any
in
Before:
makeTheme<T extends DripsyBaseTheme>
After:
makeTheme<in T extends DripsyBaseTheme>
Actually, this may have just been an issue with my IDE loading up TypeScript.
It looks like
makeTheme
is returningany
with TS 4.7. I think the solution is to add the newin
keyword:Before:
After: