17 lines
No EOL
393 B
Text
17 lines
No EOL
393 B
Text
==== 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. |