Iterable destructuring · Issue #590 · TypeScriptToLua/TypeScriptToLua · GitHub
Skip to content

Iterable destructuring #590

Open
Open

Description

@ark120202

TypeScript Playground

TypeScript does that only when downlevelIteration option is enabled, but since we do type-based emit we can always do it when destructured value type is not an array.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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