22 lines
No EOL
672 B
Text
22 lines
No EOL
672 B
Text
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'.
|
|
|
|
|
|
==== 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 = "";
|
|
~~~~~~
|
|
!!! error TS2304: Cannot find name 'module'.
|
|
~~~~~~
|
|
!!! error TS2304: Cannot find name 'module'. |