Skip to content

Generation failed when using LuaMultiReturn in type assertion #1404

@yaoyisen

Description

@yaoyisen

see playground example

The code below will cause an error in generation.

let func: any
let [a, b] = (func as (this: void, ...args: any) => LuaMultiReturn<[string, string]>)(1, 2, 3)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions