summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcarsakiller <carsakiller@gmail.com>2022-09-14 10:30:21 -0400
committercarsakiller <carsakiller@gmail.com>2022-09-14 10:30:21 -0400
commit3b44640bd337ef38ec705d000c125ccf92511f56 (patch)
tree6ba126a53e6c03ac8fbb37dffefc3baf49b7c07e
parent00443e0e648786788666481ca446bfad732cbac8 (diff)
downloadlua-language-server-3b44640bd337ef38ec705d000c125ccf92511f56.zip
fix: string.match return type #1539
-rw-r--r--meta/template/string.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/template/string.lua b/meta/template/string.lua
index 447aadc2..389fbd95 100644
--- a/meta/template/string.lua
+++ b/meta/template/string.lua
@@ -85,7 +85,7 @@ function string.lower(s) end
---@param s string
---@param pattern string
---@param init? integer
----@return string|integer|nil ...
+---@return any ...
---@nodiscard
function string.match(s, pattern, init) end