-
-
Notifications
You must be signed in to change notification settings - Fork 385
Open
Labels
Info NeededMore information is requiredMore information is requiredbugSomething isn't workingSomething isn't workingenhancementNew feature or requestNew feature or requestfeat/type checkRelated to the type checking featureRelated to the type checking feature
Description


单独写lua没能复现
另外有没有强制修改类型的配置方式,比如
`---@Class A
local a = {}
---@Class B:A
---@type string|number
local c = 1
---comment
---@return A
---@return string|number
local function func1()
return a, c
end
---comment
---@return B
---@return number
local function func2()
local ta, tb = func1()
return ta, tb
end`
在这种情况下我怎么去配置使ta、ta符合返回值类型?
Metadata
Metadata
Assignees
Labels
Info NeededMore information is requiredMore information is requiredbugSomething isn't workingSomething isn't workingenhancementNew feature or requestNew feature or requestfeat/type checkRelated to the type checking featureRelated to the type checking feature