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
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