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

24 lines
345 B
Plaintext

=== tests/cases/compiler/constDeclarations-ambient.ts ===
// No error
declare const c1: boolean;
>c1 : boolean
declare const c2: number;
>c2 : number
declare const c3, c4 :string, c5: any;
>c3 : any
>c4 : string
>c5 : any
declare module M {
>M : typeof M
const c6;
>c6 : any
const c7: number;
>c7 : number
}