TypeScript/tests/baselines/reference/objectTypeLiteralSyntax2.errors.txt
2014-07-12 17:30:19 -07:00

17 lines
393 B
Plaintext

==== tests/cases/conformance/types/objectTypeLiteral/objectTypeLiteralSyntax2.ts (2 errors) ====
var x: {
foo: string,
~
!!! ';' expected.
bar: string
}
// ASI makes this work
var y: {
foo: string
bar: string
}
var z: { foo: string bar: string }
~~~
!!! ';' expected.