Replies: 1 comment
-
I was able to get this working with some workarounds: I added an interface: export interface IGenericResponsive {
desktop?: TScale;
wide?: TScale;
mobile?: TScale;
tablet?: TScale;
} Then made all the different interface properies I don't love the solution but it works for now 🤷♂️ |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I'll try and layout the issue as best as I can. We recently upgraded to Typescript (from 4.1) and seem to be having build errors now based on how we have this setup (which is apparently wrong, but seemed to work fine on 4.1).
globalTheme.css.ts:
box.css.ts:
box.tsx
anyOtherComponent.tsx
The bottom example gives me an error of:
Can someone help me understand what broke after TS 4.1? I tried 4.2, 4.3, and 4.4 with the same results. I'm not sure what I need to change.
Beta Was this translation helpful? Give feedback.
All reactions