mirror of
https://github.com/oxc-project/oxc.git
synced 2026-09-14 19:36:11 +08:00
37482eba73
> This PR fixes TypeScript parser errors 1266 and 1257 by properly handling the `optional` field of `TSNamedTupleMember` when validating tuple element ordering constraints. Introduced in #18146 and #18145
2 lines
33 B
TypeScript
2 lines
33 B
TypeScript
let x: [A?: string, B?: number];
|