Skip to content

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

Open
dluhauskoitulaco wants to merge 1 commit intosolidjs:mainfrom
dluhauskoitulaco:main
Open

fix(types): theme optional removed (#42)#56
dluhauskoitulaco wants to merge 1 commit intosolidjs:mainfrom
dluhauskoitulaco:main

Conversation

@dluhauskoitulaco
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant