From ec1f746a71dfb981f093bf00322db75d559fd6b6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9C=80=E8=90=8C=E5=B0=8F=E6=B1=90?= Date: Sat, 23 Apr 2022 00:42:10 +0800 Subject: fix optional parameters --- script/files.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'script/files.lua') diff --git a/script/files.lua b/script/files.lua index d16474fd..22c9ae31 100644 --- a/script/files.lua +++ b/script/files.lua @@ -165,8 +165,8 @@ end --- 设置文件文本 ---@param uri uri ---@param text string ----@param isTrust boolean ----@param callback function +---@param isTrust? boolean +---@param callback? function function m.setText(uri, text, isTrust, callback) if not text then return -- cgit v1.2.3