Replies: 1 comment
-
I would also like an answer for this. I just want to put other characters in the key for the Record example, e.g.,
but that results in an error. |
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
-
Say I want to have a model property be a map from numbers to other things. Presumably that means myProp is type Record, like e.g.
But I'm specifically looking for number-alike keys, such as
But it seems like that's impossible? Or it's impossible to give it an
@example
because the syntax disallows the example keys being provided as strings and integers are not valid property names?Kinda likewise it seems impossible to declare an interface model that just has numeric keys? Like, how can I declare and @example an interface model that receives
?
Beta Was this translation helpful? Give feedback.
All reactions