70 lines
1.4 KiB
Plaintext
70 lines
1.4 KiB
Plaintext
=== tests/cases/compiler/collisionExportsRequireAndInternalModuleAliasInGlobalFile.ts ===
|
|
module mOfGloalFile {
|
|
>mOfGloalFile : typeof mOfGloalFile
|
|
|
|
export class c {
|
|
>c : c
|
|
}
|
|
}
|
|
import exports = mOfGloalFile.c;
|
|
>exports : typeof exports
|
|
>mOfGloalFile : typeof mOfGloalFile
|
|
>c : exports
|
|
|
|
import require = mOfGloalFile.c;
|
|
>require : typeof exports
|
|
>mOfGloalFile : typeof mOfGloalFile
|
|
>c : exports
|
|
|
|
new exports();
|
|
>new exports() : exports
|
|
>exports : typeof exports
|
|
|
|
new require();
|
|
>new require() : exports
|
|
>require : typeof exports
|
|
|
|
module m1 {
|
|
>m1 : typeof m1
|
|
|
|
import exports = mOfGloalFile.c;
|
|
>exports : typeof exports
|
|
>mOfGloalFile : typeof mOfGloalFile
|
|
>c : exports
|
|
|
|
import require = mOfGloalFile.c;
|
|
>require : typeof exports
|
|
>mOfGloalFile : typeof mOfGloalFile
|
|
>c : exports
|
|
|
|
new exports();
|
|
>new exports() : exports
|
|
>exports : typeof exports
|
|
|
|
new require();
|
|
>new require() : exports
|
|
>require : typeof exports
|
|
}
|
|
|
|
module m2 {
|
|
>m2 : typeof m2
|
|
|
|
export import exports = mOfGloalFile.c;
|
|
>exports : typeof exports
|
|
>mOfGloalFile : typeof mOfGloalFile
|
|
>c : exports
|
|
|
|
export import require = mOfGloalFile.c;
|
|
>require : typeof exports
|
|
>mOfGloalFile : typeof mOfGloalFile
|
|
>c : exports
|
|
|
|
new exports();
|
|
>new exports() : exports
|
|
>exports : typeof exports
|
|
|
|
new require();
|
|
>new require() : exports
|
|
>require : typeof exports
|
|
}
|