TypeScript/tests/baselines/reference/objectTypeLiteralSyntax2.errors.txt

17 lines
393 B
Plaintext
Raw Normal View History

2014-07-13 01:04:16 +02:00
==== 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.