Skip to content

Requiring state from parent #4796

Discussion options

You must be logged in to vote

This version seems to work https://stackblitz.com/edit/github-kshzxbk4-g7lcr4jo?file=src%2FwithFirstQuestion.ts

In the SignalStore you should avoid providing the type explicitly. LetTypeScript infer the type for you.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@jan-willem-baart
Comment options

Answer selected by jan-willem-baart
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants