18 lines
483 B
Plaintext
18 lines
483 B
Plaintext
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. |