18 lines
463 B
Plaintext
18 lines
463 B
Plaintext
|
==== 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 = "";
|
||
|
~~~~~~
|
||
|
!!! Cannot find name 'module'.
|
||
|
~~~~~~
|
||
|
!!! Cannot find name 'module'.
|