29 lines
619 B
Text
29 lines
619 B
Text
=== tests/cases/compiler/collisionExportsRequireAndAmbientFunction.ts ===
|
|
export declare function exports(): number;
|
|
>exports : () => number
|
|
|
|
export declare function require(): string[];
|
|
>require : () => string[]
|
|
|
|
declare module m1 {
|
|
>m1 : typeof m1
|
|
|
|
function exports(): string;
|
|
>exports : () => string
|
|
|
|
function require(): number;
|
|
>require : () => number
|
|
}
|
|
module m2 {
|
|
>m2 : typeof m2
|
|
|
|
export declare function exports(): string;
|
|
>exports : () => string
|
|
|
|
export declare function require(): string[];
|
|
>require : () => string[]
|
|
|
|
var a = 10;
|
|
>a : number
|
|
>10 : number
|
|
}
|