summaryrefslogtreecommitdiff
path: root/meta
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2022-09-15 14:45:38 +0800
committer最萌小汐 <sumneko@hotmail.com>2022-09-15 14:45:38 +0800
commit0f96c63cafc98b6574c8ae5d31c59bcca24dc50a (patch)
tree02b8bf1901a6ff6dfd631ff30e242429ce859295 /meta
parent3b44640bd337ef38ec705d000c125ccf92511f56 (diff)
downloadlua-language-server-0f96c63cafc98b6574c8ae5d31c59bcca24dc50a.zip
`string.find` returns `any` for now
Diffstat (limited to 'meta')
-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 389fbd95..e8016f76 100644
--- a/meta/template/string.lua
+++ b/meta/template/string.lua
@@ -33,7 +33,7 @@ function string.dump(f, strip) end
---@param plain? boolean
---@return integer start
---@return integer end
----@return string|integer ... captured
+---@return any ... captured
---@nodiscard
function string.find(s, pattern, init, plain) end