Skip to content

Explore using custom types instead of tuple and iterator decorators #580

@ark120202

Description

@ark120202
type LuaIterable<T> = Iterable<T> & { __luaIterable: never };
type LuaTuple<T extends any[]> = T & { __luaTuple: never };

Solution for #579. Also could simplify implementation.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions