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
Oh hmm, looks like the original fix (#8885) had a caveat:
Current typescript-estree cannot parse labeled tuple types. So we should put this in /tests/misc/typescript-babel-only for now.
That was on Aug 3. A week later @typescript-eslint/typescript-estree 3.9 was released and claims to support labeled tuple types: ChangeLog v3.9. And Prettier's current @typescript-eslint/typescript-estree dependency is v3.10.1.
Prettier v2.1.1 reports a syntax error in the following code.
Prettier playground: link
TypeScript playground: link
TypeScript added this syntax in v4: "labeled tuple elements" in the release notes
There was an earlier bug and apparently also a fix: #8646 (comment). Maybe I'm missing something?
The text was updated successfully, but these errors were encountered: