[Implimented] Add extra example to @as for when type is an array. #1340
muppet9010
started this conversation in
Ideas
Replies: 3 comments
-
|
Beta Was this translation helpful? Give feedback.
0 replies
-
|
Beta Was this translation helpful? Give feedback.
0 replies
-
an example of this has been included in the very nice new wiki by carsakiller :) |
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.
-
When using the
--[[@as TYPE]]
I was thrown for a bit on how to handle an array type, i.e. string[].As the below fails due to early comment termination:
--[[@as string[]]]
Both of the below seem to work and maybe one/both should be added to the @as documentation?
--[[@as string[]--]]
--[[@as string[] ]]
https://github.com/sumneko/lua-language-server/wiki/EmmyLua-Annotations#as
Beta Was this translation helpful? Give feedback.
All reactions