solid-styled-components icon indicating copy to clipboard operation
solid-styled-components copied to clipboard

fix(types): theme optional removed (#42)

Open dluhauskoitulaco opened this issue 1 year ago • 0 comments

image

Current DefaultTheme interface already suggests that default value for theme has to be an empty object: export interface DefaultTheme {}

Enforcing this would allow users to avoid annoying non-null assertions.

dluhauskoitulaco avatar Jun 21 '24 20:06 dluhauskoitulaco