lua-language-server icon indicating copy to clipboard operation
lua-language-server copied to clipboard

Standard way to annotate `---@return void` - aka "does not return anything"?

Open mycroftjr opened this issue 1 year ago • 6 comments

How would one annotate that a function does not return anything in the current version of LuaLS? Note that this is subtly different from returning nil (https://stackoverflow.com/a/18526055/7376471).

mycroftjr avatar Jun 26 '24 00:06 mycroftjr