58 lines
1,022 B
Text
58 lines
1,022 B
Text
=== tests/cases/compiler/collisionExportsRequireAndAmbientClass_externalmodule.ts ===
|
|
export declare class require {
|
|
>require : require
|
|
}
|
|
export declare class exports {
|
|
>exports : exports
|
|
}
|
|
declare module m1 {
|
|
>m1 : typeof m1
|
|
|
|
class require {
|
|
>require : require
|
|
}
|
|
class exports {
|
|
>exports : exports
|
|
}
|
|
}
|
|
module m2 {
|
|
>m2 : typeof m2
|
|
|
|
export declare class require {
|
|
>require : require
|
|
}
|
|
export declare class exports {
|
|
>exports : exports
|
|
}
|
|
}
|
|
|
|
=== tests/cases/compiler/collisionExportsRequireAndAmbientClass_globalFile.ts ===
|
|
declare class require {
|
|
>require : require
|
|
}
|
|
declare class exports {
|
|
>exports : exports
|
|
}
|
|
declare module m3 {
|
|
>m3 : typeof m3
|
|
|
|
class require {
|
|
>require : require
|
|
}
|
|
class exports {
|
|
>exports : exports
|
|
}
|
|
}
|
|
module m4 {
|
|
>m4 : typeof m4
|
|
|
|
export declare class require {
|
|
>require : require
|
|
}
|
|
export declare class exports {
|
|
>exports : exports
|
|
}
|
|
var a = 10;
|
|
>a : number
|
|
>10 : number
|
|
}
|