18 lines
530 B
Text
18 lines
530 B
Text
=== 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, 3, 16))
|
|
|
|
export const c2: number = 23;
|
|
>c2 : Symbol(c2, Decl(constDeclarations2.ts, 4, 16))
|
|
|
|
export const c3 = 0, c4 :string = "", c5 = null;
|
|
>c3 : Symbol(c3, Decl(constDeclarations2.ts, 5, 16))
|
|
>c4 : Symbol(c4, Decl(constDeclarations2.ts, 5, 24))
|
|
>c5 : Symbol(c5, Decl(constDeclarations2.ts, 5, 41))
|
|
}
|
|
|