From f76cd50992dab57a57c61e8e6f5f788745544da9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9C=80=E8=90=8C=E5=B0=8F=E6=B1=90?= Date: Tue, 21 Jun 2022 17:05:04 +0800 Subject: resolve #1221 generic with optional --- meta/template/basic.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'meta') diff --git a/meta/template/basic.lua b/meta/template/basic.lua index b4913cc2..4509258e 100644 --- a/meta/template/basic.lua +++ b/meta/template/basic.lua @@ -6,7 +6,7 @@ arg = {} ---#DES 'assert' ---@generic T ----@param v T +---@param v? T ---@param message? any ---@return T function assert(v, message) end -- cgit v1.2.3