Replies: 2 comments 1 reply
-
You may use |
Beta Was this translation helpful? Give feedback.
1 reply
-
You can follow this issue: #1081 |
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.
-
Hey all, I noticed that there's a way to denote arrays, i.e.
string[]
. Is there a way to indicate the size of such an array? For my particular use case, I would like to indicate that aposition
always comes in a{ row, column }
pair. For the time being, I've been using this:---@alias position integer[]
Is there a better way to do this that would better express intent? I've tried stuff like
---@alias position {integer, integer}
But I'm pretty sure that the above syntax interprets the list as an associative array, requiring names for the elements.
Beta Was this translation helpful? Give feedback.
All reactions