1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
|
//// [tests/cases/compiler/errorOnInitializerInObjectTypeLiteralProperty.ts] ////
=== errorOnInitializerInObjectTypeLiteralProperty.ts ===
var Foo: {
>Foo : Symbol(Foo, Decl(errorOnInitializerInObjectTypeLiteralProperty.ts, 0, 3))
bar: number = 5;
>bar : Symbol(bar, Decl(errorOnInitializerInObjectTypeLiteralProperty.ts, 0, 10))
};
let Bar: {
>Bar : Symbol(Bar, Decl(errorOnInitializerInObjectTypeLiteralProperty.ts, 4, 3))
bar: number = 5;
>bar : Symbol(bar, Decl(errorOnInitializerInObjectTypeLiteralProperty.ts, 4, 10))
};
|