18 lines
292 B
Text
18 lines
292 B
Text
=== 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
|
|
}
|
|
|