From 3b44640bd337ef38ec705d000c125ccf92511f56 Mon Sep 17 00:00:00 2001 From: carsakiller Date: Wed, 14 Sep 2022 10:30:21 -0400 Subject: fix: string.match return type #1539 --- meta/template/string.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.3