You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The new playground will go back to the built-in TS formatter, so you're welcome to look at maybe updating the prettier for this playground in the meantime.
Code:
Looks like the
readonly
modifier for arrays breaks code reformatting in the Playground.Expected behavior:
Code reformats (so
const x = 1;
is moved to a single line)Actual behavior:
Code does not reformat. A console error indicates that the
readonly
modifier is not expected.Playground Link:
Playground Link
Related Issues:
microsoft/TypeScript#29435, introducing the
readonly
modifier for array typesThe text was updated successfully, but these errors were encountered: