127 lines
1.9 KiB
Text
127 lines
1.9 KiB
Text
=== tests/cases/compiler/collisionExportsRequireAndAmbientEnum_externalmodule.ts ===
|
|
export declare enum require {
|
|
>require : require
|
|
|
|
_thisVal1,
|
|
>_thisVal1 : require
|
|
|
|
_thisVal2,
|
|
>_thisVal2 : require
|
|
}
|
|
export declare enum exports {
|
|
>exports : exports
|
|
|
|
_thisVal1,
|
|
>_thisVal1 : exports
|
|
|
|
_thisVal2,
|
|
>_thisVal2 : exports
|
|
}
|
|
declare module m1 {
|
|
>m1 : typeof m1
|
|
|
|
enum require {
|
|
>require : require
|
|
|
|
_thisVal1,
|
|
>_thisVal1 : require
|
|
|
|
_thisVal2,
|
|
>_thisVal2 : require
|
|
}
|
|
enum exports {
|
|
>exports : exports
|
|
|
|
_thisVal1,
|
|
>_thisVal1 : exports
|
|
|
|
_thisVal2,
|
|
>_thisVal2 : exports
|
|
}
|
|
}
|
|
module m2 {
|
|
>m2 : typeof m2
|
|
|
|
export declare enum require {
|
|
>require : require
|
|
|
|
_thisVal1,
|
|
>_thisVal1 : require
|
|
|
|
_thisVal2,
|
|
>_thisVal2 : require
|
|
}
|
|
export declare enum exports {
|
|
>exports : exports
|
|
|
|
_thisVal1,
|
|
>_thisVal1 : exports
|
|
|
|
_thisVal2,
|
|
>_thisVal2 : exports
|
|
}
|
|
}
|
|
|
|
=== tests/cases/compiler/collisionExportsRequireAndAmbientEnum_globalFile.ts ===
|
|
declare enum require {
|
|
>require : require
|
|
|
|
_thisVal1,
|
|
>_thisVal1 : require
|
|
|
|
_thisVal2,
|
|
>_thisVal2 : require
|
|
}
|
|
declare enum exports {
|
|
>exports : exports
|
|
|
|
_thisVal1,
|
|
>_thisVal1 : exports
|
|
|
|
_thisVal2,
|
|
>_thisVal2 : exports
|
|
}
|
|
declare module m3 {
|
|
>m3 : typeof m3
|
|
|
|
enum require {
|
|
>require : require
|
|
|
|
_thisVal1,
|
|
>_thisVal1 : require
|
|
|
|
_thisVal2,
|
|
>_thisVal2 : require
|
|
}
|
|
enum exports {
|
|
>exports : exports
|
|
|
|
_thisVal1,
|
|
>_thisVal1 : exports
|
|
|
|
_thisVal2,
|
|
>_thisVal2 : exports
|
|
}
|
|
}
|
|
module m4 {
|
|
>m4 : typeof m4
|
|
|
|
export declare enum require {
|
|
>require : require
|
|
|
|
_thisVal1,
|
|
>_thisVal1 : require
|
|
|
|
_thisVal2,
|
|
>_thisVal2 : require
|
|
}
|
|
export declare enum exports {
|
|
>exports : exports
|
|
|
|
_thisVal1,
|
|
>_thisVal1 : exports
|
|
|
|
_thisVal2,
|
|
>_thisVal2 : exports
|
|
}
|
|
}
|