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/vm/ref.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'script/vm/ref.lua') diff --git a/script/vm/ref.lua b/script/vm/ref.lua index 65e8fdab..29ea27c5 100644 --- a/script/vm/ref.lua +++ b/script/vm/ref.lua @@ -291,7 +291,7 @@ end ---@async ---@param source parser.object ----@param fileNotify fun(uri: uri): boolean +---@param fileNotify? fun(uri: uri): boolean function vm.getRefs(source, fileNotify) local results = {} local mark = {} -- cgit v1.2.3