Skip to content

Support TypeScript readonly [] tuples #803

@ghost

Description

Hi there,
Typescript 3.4 introduced a shorthand for readonly tuples (e.g. readonly string[]), see here.

Prettier itself seems to support it since version 1.17.

Is there a chance, that we can get a release with updated prettier (or is there a workaround to use a newer prettier version with the vs code extension)?

Up to now, prettier extension refuses to format the whole document, if I use one of these types.

Cheers,
ford

Metadata

Metadata

Assignees

No one assigned

    Labels

    lockedLocked due to inactivity

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions