[bug] non-optional component properties not satisfied by SLFunctionComponent<{}>
#72
Labels
bug
Something isn't working
SLFunctionComponent<{}>
#72
Describe the bug
Taking the
docs
package as example, when changing a property of theLinkableBtnProps
interface to required e.g.primary
:IDE is throwing two type errors:
First error:
Related to
tsconfig.json
the strictFunctionTypes option is set totrue
:Second error:
Reproduction
pnpm i
LinkableBtnProps
primary
property torequired
buttons.stories.tsx
and see the errorEnvironment
The text was updated successfully, but these errors were encountered: