18 lines
No EOL
483 B
Text
18 lines
No EOL
483 B
Text
tests/cases/conformance/types/objectTypeLiteral/objectTypeLiteralSyntax2.ts(12,22): error TS1005: ';' expected.
|
|
|
|
|
|
==== tests/cases/conformance/types/objectTypeLiteral/objectTypeLiteralSyntax2.ts (1 errors) ====
|
|
var x: {
|
|
foo: string,
|
|
bar: string
|
|
}
|
|
|
|
// ASI makes this work
|
|
var y: {
|
|
foo: string
|
|
bar: string
|
|
}
|
|
|
|
var z: { foo: string bar: string }
|
|
~~~
|
|
!!! error TS1005: ';' expected. |