1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
|
=== tests/cases/compiler/constDeclarations2.ts ===
// No error
module M {
>M : Symbol(M, Decl(constDeclarations2.ts, 0, 0))
export const c1 = false;
>c1 : Symbol(c1, Decl(constDeclarations2.ts, 2, 16))
export const c2: number = 23;
>c2 : Symbol(c2, Decl(constDeclarations2.ts, 3, 16))
export const c3 = 0, c4 :string = "", c5 = null;
>c3 : Symbol(c3, Decl(constDeclarations2.ts, 4, 16))
>c4 : Symbol(c4, Decl(constDeclarations2.ts, 4, 24))
>c5 : Symbol(c5, Decl(constDeclarations2.ts, 4, 41))
}
|