Previously if the first member was untyped and the separator was ',', then parsing would fail.
4 lines
76 B
TypeScript
4 lines
76 B
TypeScript
let x: { foo, bar }
|
|
let y: { foo: number, bar }
|
|
let z: { foo, bar: number }
|