TypeScript/tests/cases/compiler/parseObjectLiteralsWithoutTypes.ts
Nathan Shively-Sanders 0a985ee287 Parse untyped object type members separated by ','
Previously if the first member was untyped and the separator was ',',
then parsing would fail.
2016-08-26 13:25:19 -07:00

4 lines
76 B
TypeScript

let x: { foo, bar }
let y: { foo: number, bar }
let z: { foo, bar: number }