ChatCommandDefinition: fix func annotation: returned string may be nil

This commit is contained in:
Van
2026-03-08 20:04:44 +03:00
parent a8dfcb767b
commit 52df233a28

View File

@@ -28,6 +28,6 @@ local ChatCommandDefinition = {
--- Called when command is run. Returns boolean success and text output.
--- Special case: The help message is shown to the player if `func`
--- returns false without a text output.
--- @type fun(name:string, param:string):boolean,string
--- @type fun(name:string, param:string):boolean,string?
func = function(name, param) end,
}