TypeScript/tests/baselines/reference/constDeclarations2.types
2016-09-01 14:25:44 -07:00

24 lines
343 B
Plaintext

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