Open
Description
I don't know if this is intended or not, but IIRC this is possible in typescript.
---@enum idx
local enum = { a = 'a', b = 'b' }
---@param tbl table<idx, string>
local function x(tbl) end
When calling x
with a table (e.g. x({ | })
), I expect to receive completion for a
and b
, but I don't get that.
Metadata
Metadata
Assignees
Labels
No labels