TypeScript/tests/baselines/reference/collisionExportsRequireAndAlias.types
2014-08-15 14:37:48 -07:00

21 lines
1.3 KiB
Plaintext

=== tests/cases/compiler/collisionExportsRequireAndAlias.ts ===
// TODO: re-enable, fails when run in the browser with full compiler suite, but not when run alone
No type information for this code.
No type information for this code.////@module: amd
No type information for this code.//// @Filename: collisionExportsRequireAndAlias_file1.ts
No type information for this code.//export function bar() {
No type information for this code.//}
No type information for this code.
No type information for this code.//// @Filename: collisionExportsRequireAndAlias_file3333.ts
No type information for this code.//export function bar2() {
No type information for this code.//}
No type information for this code.//// @Filename: collisionExportsRequireAndAlias_file2.ts
No type information for this code.//import require = require('collisionExportsRequireAndAlias_file1'); // Error
No type information for this code.//import exports = require('collisionExportsRequireAndAlias_file3333'); // Error
No type information for this code.//export function foo() {
No type information for this code.// require.bar();
No type information for this code.//}
No type information for this code.//export function foo2() {
No type information for this code.// exports.bar2();
No type information for this code.//}
No type information for this code.