2014-09-12 22:35:07 +02:00
|
|
|
tests/cases/compiler/moduleExports1.ts(13,6): error TS2304: Cannot find name 'module'.
|
|
|
|
tests/cases/compiler/moduleExports1.ts(13,22): error TS2304: Cannot find name 'module'.
|
|
|
|
|
|
|
|
|
2014-07-13 01:04:16 +02:00
|
|
|
==== tests/cases/compiler/moduleExports1.ts (2 errors) ====
|
|
|
|
export module TypeScript.Strasse.Street {
|
|
|
|
export class Rue {
|
|
|
|
public address:string;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
var rue = new TypeScript.Strasse.Street.Rue();
|
|
|
|
|
|
|
|
rue.address = "1 Main Street";
|
|
|
|
|
|
|
|
void 0;
|
|
|
|
|
|
|
|
if (!module.exports) module.exports = "";
|
|
|
|
~~~~~~
|
2014-09-12 00:19:57 +02:00
|
|
|
!!! error TS2304: Cannot find name 'module'.
|
2014-07-13 01:04:16 +02:00
|
|
|
~~~~~~
|
2014-09-12 00:19:57 +02:00
|
|
|
!!! error TS2304: Cannot find name 'module'.
|