58 lines
1 KiB
Plaintext
58 lines
1 KiB
Plaintext
|
=== tests/cases/compiler/collisionExportsRequireAndAmbientVar_externalmodule.ts ===
|
||
|
export declare var exports: number;
|
||
|
>exports : number
|
||
|
|
||
|
export declare var require: string;
|
||
|
>require : string
|
||
|
|
||
|
declare module m1 {
|
||
|
>m1 : typeof m1
|
||
|
|
||
|
var exports: string;
|
||
|
>exports : string
|
||
|
|
||
|
var require: number;
|
||
|
>require : number
|
||
|
}
|
||
|
module m2 {
|
||
|
>m2 : typeof m2
|
||
|
|
||
|
export declare var exports: number;
|
||
|
>exports : number
|
||
|
|
||
|
export declare var require: string;
|
||
|
>require : string
|
||
|
|
||
|
var a = 10;
|
||
|
>a : number
|
||
|
}
|
||
|
|
||
|
=== tests/cases/compiler/collisionExportsRequireAndAmbientVar_globalFile.ts ===
|
||
|
declare var exports: number;
|
||
|
>exports : number
|
||
|
|
||
|
declare var require: string;
|
||
|
>require : string
|
||
|
|
||
|
declare module m3 {
|
||
|
>m3 : typeof m3
|
||
|
|
||
|
var exports: string;
|
||
|
>exports : string
|
||
|
|
||
|
var require: number;
|
||
|
>require : number
|
||
|
}
|
||
|
module m4 {
|
||
|
>m4 : typeof m4
|
||
|
|
||
|
export declare var exports: string;
|
||
|
>exports : string
|
||
|
|
||
|
export declare var require: number;
|
||
|
>require : number
|
||
|
|
||
|
var a = 10;
|
||
|
>a : number
|
||
|
}
|