Skip to content

无法在表中进行强制推断类型 #1110

@TAN00XU

Description

@TAN00XU
---@alias test fun(a:int,b:string)

---@type test
local test

local t = {
    ---@type test
    A = function(a, b) --- 此处无法正常推断类型
    end
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions