23 lines
564 B
JavaScript
23 lines
564 B
JavaScript
|
//// [collisionExportsRequireAndAmbientFunction.ts]
|
||
|
export declare function exports(): number;
|
||
|
|
||
|
export declare function require(): string[];
|
||
|
|
||
|
declare module m1 {
|
||
|
function exports(): string;
|
||
|
function require(): number;
|
||
|
}
|
||
|
module m2 {
|
||
|
export declare function exports(): string;
|
||
|
export declare function require(): string[];
|
||
|
var a = 10;
|
||
|
}
|
||
|
|
||
|
//// [collisionExportsRequireAndAmbientFunction.js]
|
||
|
define(["require", "exports"], function (require, exports) {
|
||
|
var m2;
|
||
|
(function (m2) {
|
||
|
var a = 10;
|
||
|
})(m2 || (m2 = {}));
|
||
|
});
|