summaryrefslogtreecommitdiff
path: root/script/vm/doc.lua
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2023-08-14 18:01:58 +0800
committer最萌小汐 <sumneko@hotmail.com>2023-08-14 18:01:58 +0800
commitf09aa4104a56996e838dd30d28bbef706e461469 (patch)
tree47af5ff871d0cb28a4e563a4ad7ba16980eedea1 /script/vm/doc.lua
parent5ccedb1cf07a73a8e0eb4ace84b320c8a997dbbb (diff)
downloadlua-language-server-f09aa4104a56996e838dd30d28bbef706e461469.zip
fix warning
Diffstat (limited to 'script/vm/doc.lua')
-rw-r--r--script/vm/doc.lua6
1 files changed, 5 insertions, 1 deletions
diff --git a/script/vm/doc.lua b/script/vm/doc.lua
index a6ea248f..5cb039fe 100644
--- a/script/vm/doc.lua
+++ b/script/vm/doc.lua
@@ -5,7 +5,11 @@ local vm = require 'vm.vm'
local config = require 'config'
---@class parser.object
----@field package _castTargetHead parser.object | vm.global | false
+---@field package _castTargetHead? parser.object | vm.global | false
+---@field package _validVersions? table<string, boolean>
+---@field package _deprecated? parser.object | false
+---@field package _async? boolean
+---@field package _nodiscard? boolean
---获取class与alias
---@param suri uri