Files
oxc-project__oxc/tasks/coverage/misc/pass/ts-tuple-named-optional-member-twice.ts
Sysix 37482eba73 fix(parser): respect optional TSNamedTupleMember for ts error 1266 &1257 (#18178)
> 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
2026-01-18 11:35:35 +00:00

2 lines
33 B
TypeScript

let x: [A?: string, B?: number];