Skip to content

Handbook doesn't cover labeled tuple elements #3724

Backlog

Description

@paulcyr

Page URL: https://www.typescriptlang.org/docs/handbook/2/objects.html#tuple-types

Issue: The Tuple Types section doesn't mention labeled tuple elements, such as type Range = [start: number, end: number]. Apart from the Playground examples, the only places I could find them described are the release notes:

Someone learning tuples from the Handbook won't come across them. Someone who finds the 4.0 notes but doesn't see the 5.2 notes will think that every element must be labeled if any one is.

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions