2014-07-13 01:04:16 +02:00
|
|
|
//@module: amd
|
2014-09-04 22:00:59 +02:00
|
|
|
//@filename: collisionExportsRequireAndEnum_externalmodule.ts
|
2014-07-13 01:04:16 +02:00
|
|
|
export enum require { // Error
|
|
|
|
_thisVal1,
|
|
|
|
_thisVal2,
|
|
|
|
}
|
|
|
|
export enum exports { // Error
|
|
|
|
_thisVal1,
|
|
|
|
_thisVal2,
|
2014-09-04 22:00:59 +02:00
|
|
|
}
|
|
|
|
module m1 {
|
|
|
|
enum require {
|
|
|
|
_thisVal1,
|
|
|
|
_thisVal2,
|
|
|
|
}
|
|
|
|
enum exports {
|
|
|
|
_thisVal1,
|
|
|
|
_thisVal2,
|
|
|
|
}
|
|
|
|
}
|
|
|
|
module m2 {
|
|
|
|
export enum require {
|
|
|
|
_thisVal1,
|
|
|
|
_thisVal2,
|
|
|
|
}
|
|
|
|
export enum exports {
|
|
|
|
_thisVal1,
|
|
|
|
_thisVal2,
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
//@filename: collisionExportsRequireAndEnum_globalFile.ts
|
|
|
|
enum require {
|
|
|
|
_thisVal1,
|
|
|
|
_thisVal2,
|
|
|
|
}
|
|
|
|
enum exports {
|
|
|
|
_thisVal1,
|
|
|
|
_thisVal2,
|
|
|
|
}
|
|
|
|
module m3 {
|
|
|
|
enum require {
|
|
|
|
_thisVal1,
|
|
|
|
_thisVal2,
|
|
|
|
}
|
|
|
|
enum exports {
|
|
|
|
_thisVal1,
|
|
|
|
_thisVal2,
|
|
|
|
}
|
|
|
|
}
|
|
|
|
module m4 {
|
|
|
|
export enum require {
|
|
|
|
_thisVal1,
|
|
|
|
_thisVal2,
|
|
|
|
}
|
|
|
|
export enum exports {
|
|
|
|
_thisVal1,
|
|
|
|
_thisVal2,
|
|
|
|
}
|
2014-07-13 01:04:16 +02:00
|
|
|
}
|