Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Currently, the components’ persistent parameters are only converted to a type when they have default value:
Sometimes, the value can only be set dynamically but we would still like for it to be properly converted in
I propose recognizing typed annotations like
It would need to be extracted here and then handled in the function above.
I can implement this if you agree.
And indeed, it does convert the type for us when we set a default value. However, that is not always possible. We can assign the default value
Setting the type to