Skip to content

emmylua_doc_cli: Only one overload of global function is exported. #279

Open
@rhys-vdw

Description

@rhys-vdw

Input:

---@meta

---@class CallAsTeamOptions
---@field ctrl integer Ctrl team ID.
---@field read integer Read team ID.
---@field select integer Read team ID.
local CallAsTeamOptions = {}

---@param teamID integer Team ID.
---@param func fun(...) The function to call.
---@param ... any Arguments to pass to the function.
---@return any ... The return values of the function.
function CallAsTeam(teamID, func, ...) end

---@param options CallAsTeamOptions Options.
---@param func fun(...) The function to call.
---@param ... any Arguments to pass to the function.
---@return any ... The return values of the function.
function CallAsTeam(options, func, ...) end

Output:

# global CallAsTeam

```lua
function CallAsTeam(
  teamID: integer,
  func: fun(...),
  ...: any
) -> The any...
```
@param `teamID` - Team ID.

@param `func` - The function to call.

@param `...` - Arguments to pass to the function.


@return `The` - return values of the function.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions