Replies: 1 comment
-
both are ok , but the first way looks like needing import "Ref" as type . |
Beta Was this translation helpful? Give feedback.
0 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.
Uh oh!
There was an error while loading. Please reload this page.
-
When you specify types for a ref's inner value, there are two options available. Which one do you prefer?
12 votes ·
Beta Was this translation helpful? Give feedback.
All reactions