-
-
Notifications
You must be signed in to change notification settings - Fork 429
Support tuple/fixed length array types? #1816
Copy link
Copy link
Closed
Labels
enhancementNew feature or requestNew feature or requestfeat/LuaCats AnnotationsRelated to Lua Language Server Annotations (LuaCats)Related to Lua Language Server Annotations (LuaCats)
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or requestfeat/LuaCats AnnotationsRelated to Lua Language Server Annotations (LuaCats)Related to Lua Language Server Annotations (LuaCats)
Type
Fields
Give feedbackNo fields configured for issues without a type.
It'd be nice to have tuple types or fixed length arrays available as annotations, declaring that a function expects e.g., an array of 3 numbers.
or
---@alias vec3 number[3]See e.g., https://www.typescriptlang.org/docs/handbook/basic-types.html#tuple