summaryrefslogtreecommitdiff
path: root/script/client.lua
diff options
context:
space:
mode:
Diffstat (limited to 'script/client.lua')
-rw-r--r--script/client.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/script/client.lua b/script/client.lua
index 2ce29803..f0f7aa44 100644
--- a/script/client.lua
+++ b/script/client.lua
@@ -112,7 +112,7 @@ end
---@param type message.type
---@param message string
---@param titles string[]
----@param callback fun(action: string, index: integer)
+---@param callback fun(action?: string, index?: integer)
function m.requestMessage(type, message, titles, callback)
proto.notify('window/logMessage', {
type = define.MessageType[type] or 3,