TypeScript/tests/baselines/reference/constDeclarations2.types
2015-04-15 16:44:20 -07:00

24 lines
365 B
Plaintext

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