Repository navigation
Default value dependent on parameter type #7877
Closed
Joan Puig (JoanPuig)
started this conversation in
General
Replies: 1 comment 4 replies
|
We do not support conditional template expression like TypeScript does right now |
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Is there a way to have a different default depending on the type of a parameter? I was thinking something along the lines of:
Thanks,
Joan
All reactions