From 0f96c63cafc98b6574c8ae5d31c59bcca24dc50a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9C=80=E8=90=8C=E5=B0=8F=E6=B1=90?= Date: Thu, 15 Sep 2022 14:45:38 +0800 Subject: `string.find` returns `any` for now --- meta/template/string.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'meta') 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 -- cgit v1.2.3