Take the example in the official docs, I tried creating the follwing enum:
---@param event_name string | "'onStart'" | "'onStop'"
function event(event_name) end
When I type the event function, it will show the suggested values (onStart, onStop) in VS Code, but they are added without any quotation marks around. Is there any way of adding those?
Take the example in the official docs, I tried creating the follwing enum:
When I type the
event
function, it will show the suggested values (onStart, onStop) in VS Code, but they are added without any quotation marks around. Is there any way of adding those?