39 lines
599 B
Text
39 lines
599 B
Text
=== tests/cases/compiler/exportAlreadySeen.ts ===
|
|
module M {
|
|
>M : typeof M
|
|
|
|
export export var x = 1;
|
|
>x : number
|
|
>1 : 1
|
|
|
|
export export function f() { }
|
|
>f : () => void
|
|
|
|
export export module N {
|
|
>N : typeof N
|
|
|
|
export export class C { }
|
|
>C : C
|
|
|
|
export export interface I { }
|
|
}
|
|
}
|
|
|
|
declare module A {
|
|
>A : typeof A
|
|
|
|
export export var x;
|
|
>x : any
|
|
|
|
export export function f()
|
|
>f : () => any
|
|
|
|
export export module N {
|
|
>N : typeof N
|
|
|
|
export export class C { }
|
|
>C : C
|
|
|
|
export export interface I { }
|
|
}
|
|
}
|