summaryrefslogtreecommitdiff
path: root/meta/template
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2022-07-04 20:51:32 +0800
committer最萌小汐 <sumneko@hotmail.com>2022-07-04 20:51:32 +0800
commit1b23b28c7e9f2ecc59dcf19ec2533ab2c4f3e9d9 (patch)
treed7fcd5dcf51246cef2e92dd15ac72e37893a397f /meta/template
parent5451d2b0c0fe0ade11ad015fb4b9e5832de9ea2f (diff)
downloadlua-language-server-1b23b28c7e9f2ecc59dcf19ec2533ab2c4f3e9d9.zip
fix #1269
Diffstat (limited to 'meta/template')
-rw-r--r--meta/template/string.lua5
1 files changed, 2 insertions, 3 deletions
diff --git a/meta/template/string.lua b/meta/template/string.lua
index f74f7546..c8272924 100644
--- a/meta/template/string.lua
+++ b/meta/template/string.lua
@@ -94,9 +94,8 @@ function string.match(s, pattern, init) end
---@version >5.3
---#DES 'string.pack'
---@param fmt string
----@param v1 string
----@param v2? string
----@param ... string
+---@param v1 string|number
+---@param ... string|number
---@return string binary
---@nodiscard
function string.pack(fmt, v1, v2, ...) end