90 lines
1.5 KiB
TypeScript
90 lines
1.5 KiB
TypeScript
//@module: amd
|
|
//@filename: collisionExportsRequireAndModule_externalmodule.ts
|
|
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;
|
|
}
|
|
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 {
|
|
}
|
|
}
|
|
}
|