18 lines
No EOL
463 B
Text
18 lines
No EOL
463 B
Text
==== 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'. |