2014-07-13 01:04:16 +02:00
|
|
|
//@module: amd
|
2014-09-04 22:00:59 +02:00
|
|
|
//@filename: collisionExportsRequireAndModule_externalmodule.ts
|
2014-07-13 01:04:16 +02:00
|
|
|
export module require {
|
|
|
|
export interface I {
|
|
|
|
}
|
|
|
|
export class C {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
export function foo(): require.I {
|
|
|
|
return null;
|
|
|
|
}
|
|
|
|
export module exports {
|
|
|
|
export interface I {
|
|
|
|
}
|
|
|
|
export class C {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
export function foo2(): exports.I {
|
|
|
|
return null;
|
2014-09-04 22:00:59 +02:00
|
|
|
}
|
|
|
|
module m1 {
|
|
|
|
module require {
|
|
|
|
export interface I {
|
|
|
|
}
|
|
|
|
export class C {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
module exports {
|
|
|
|
export interface I {
|
|
|
|
}
|
|
|
|
export class C {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
module m2 {
|
|
|
|
export module require {
|
|
|
|
export interface I {
|
|
|
|
}
|
|
|
|
export class C {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
export module exports {
|
|
|
|
export interface I {
|
|
|
|
}
|
|
|
|
export class C {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
//@filename: collisionExportsRequireAndModule_globalFile.ts
|
|
|
|
module require {
|
|
|
|
export interface I {
|
|
|
|
}
|
|
|
|
export class C {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
module exports {
|
|
|
|
export interface I {
|
|
|
|
}
|
|
|
|
export class C {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
module m3 {
|
|
|
|
module require {
|
|
|
|
export interface I {
|
|
|
|
}
|
|
|
|
export class C {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
module exports {
|
|
|
|
export interface I {
|
|
|
|
}
|
|
|
|
export class C {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
module m4 {
|
|
|
|
export module require {
|
|
|
|
export interface I {
|
|
|
|
}
|
|
|
|
export class C {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
export module exports {
|
|
|
|
export interface I {
|
|
|
|
}
|
|
|
|
export class C {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|