29 lines
1.2 KiB
Text
29 lines
1.2 KiB
Text
=== tests/cases/compiler/collisionExportsRequireAndAmbientFunction.ts ===
|
|
export declare function exports(): number;
|
|
>exports : () => number, Symbol(exports,Decl(collisionExportsRequireAndAmbientFunction.ts,0,0))
|
|
|
|
export declare function require(): string[];
|
|
>require : () => string[], Symbol(require,Decl(collisionExportsRequireAndAmbientFunction.ts,0,42))
|
|
|
|
declare module m1 {
|
|
>m1 : typeof m1, Symbol(m1,Decl(collisionExportsRequireAndAmbientFunction.ts,2,44))
|
|
|
|
function exports(): string;
|
|
>exports : () => string, Symbol(exports,Decl(collisionExportsRequireAndAmbientFunction.ts,4,19))
|
|
|
|
function require(): number;
|
|
>require : () => number, Symbol(require,Decl(collisionExportsRequireAndAmbientFunction.ts,5,31))
|
|
}
|
|
module m2 {
|
|
>m2 : typeof m2, Symbol(m2,Decl(collisionExportsRequireAndAmbientFunction.ts,7,1))
|
|
|
|
export declare function exports(): string;
|
|
>exports : () => string, Symbol(exports,Decl(collisionExportsRequireAndAmbientFunction.ts,8,11))
|
|
|
|
export declare function require(): string[];
|
|
>require : () => string[], Symbol(require,Decl(collisionExportsRequireAndAmbientFunction.ts,9,46))
|
|
|
|
var a = 10;
|
|
>a : number, Symbol(a,Decl(collisionExportsRequireAndAmbientFunction.ts,11,7))
|
|
>10 : number
|
|
}
|