You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As noted here, palette is currently typed with DOM types regardless of the runtime platform.
Emission currently type-checks, but as a result, TypeScript would erroneously allow a DOM-only prop to be passed without error.
There was some initial exploration work towards fixing this in https://github.com/javamonn/palette/tree/upgrade-typings, though I'm not sure it's the best way forward - it seems like we might need separate stsconfig`s and separate builds.
The text was updated successfully, but these errors were encountered:
As noted here, palette is currently typed with DOM types regardless of the runtime platform.
Emission currently type-checks, but as a result, TypeScript would erroneously allow a DOM-only prop to be passed without error.
There was some initial exploration work towards fixing this in https://github.com/javamonn/palette/tree/upgrade-typings, though I'm not sure it's the best way forward - it seems like we might need separate stsconfig`s and separate builds.
The text was updated successfully, but these errors were encountered: