23 lines
345 B
Text
23 lines
345 B
Text
=== 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
|
|
}
|