diff options
-rw-r--r-- | changelog.md | 1 | ||||
-rw-r--r-- | meta/template/string.lua | 5 |
2 files changed, 3 insertions, 3 deletions
diff --git a/changelog.md b/changelog.md index aa2e95c5..d5430f9f 100644 --- a/changelog.md +++ b/changelog.md @@ -5,6 +5,7 @@ * `type.weakNilCheck` * `FIX` [#1256](https://github.com/sumneko/lua-language-server/issues/1256) * `FIX` [#1257](https://github.com/sumneko/lua-language-server/issues/1257) +* `FIX` [#1269](https://github.com/sumneko/lua-language-server/issues/1269) * `FIX` [#1275](https://github.com/sumneko/lua-language-server/issues/1275) ## 3.4.0 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 |