Skip to content

Commit 3b44640

Browse files
committed
fix: string.match return type #1539
1 parent 00443e0 commit 3b44640

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

meta/template/string.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ function string.lower(s) end
8585
---@param s string
8686
---@param pattern string
8787
---@param init? integer
88-
---@return string|integer|nil ...
88+
---@return any ...
8989
---@nodiscard
9090
function string.match(s, pattern, init) end
9191

0 commit comments

Comments
 (0)