From 31329202cbab5dc96104661f4a8a011d3757ef7f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9C=80=E8=90=8C=E5=B0=8F=E6=B1=90?= Date: Wed, 29 Jun 2022 17:49:53 +0800 Subject: resove warning --- script/jsonrpc.lua | 1 + 1 file changed, 1 insertion(+) (limited to 'script') diff --git a/script/jsonrpc.lua b/script/jsonrpc.lua index 91d6c9dd..7411fee8 100644 --- a/script/jsonrpc.lua +++ b/script/jsonrpc.lua @@ -50,6 +50,7 @@ function m.decode(reader) if not content then return nil, 'Proto read error' end + ---@type any local null = json.null json.null = nil local suc, res = pcall(json.decode, content) -- cgit v1.2.3