TypeScript/tests/baselines/reference/constDeclarations2.types

19 lines
292 B
Plaintext

=== tests/cases/compiler/constDeclarations2.ts ===
// No error
module M {
>M : typeof M
export const c1 = false;
>c1 : boolean
export const c2: number = 23;
>c2 : number
export const c3 = 0, c4 :string = "", c5 = null;
>c3 : number
>c4 : string
>c5 : any
}