40 lines
638 B
Plaintext
40 lines
638 B
Plaintext
|
=== tests/cases/compiler/collisionExportsRequireAndFunctionInGlobalFile.ts ===
|
||
|
function exports() {
|
||
|
>exports : () => number
|
||
|
|
||
|
return 1;
|
||
|
}
|
||
|
function require() {
|
||
|
>require : () => string
|
||
|
|
||
|
return "require";
|
||
|
}
|
||
|
module m3 {
|
||
|
>m3 : typeof m3
|
||
|
|
||
|
function exports() {
|
||
|
>exports : () => number
|
||
|
|
||
|
return 1;
|
||
|
}
|
||
|
function require() {
|
||
|
>require : () => string
|
||
|
|
||
|
return "require";
|
||
|
}
|
||
|
}
|
||
|
module m4 {
|
||
|
>m4 : typeof m4
|
||
|
|
||
|
export function exports() {
|
||
|
>exports : () => number
|
||
|
|
||
|
return 1;
|
||
|
}
|
||
|
export function require() {
|
||
|
>require : () => string
|
||
|
|
||
|
return "require";
|
||
|
}
|
||
|
}
|