6e77e2e810
Also got rid of the 'terminalMessages' concept.
27 lines
No EOL
1.5 KiB
Text
27 lines
No EOL
1.5 KiB
Text
tests/cases/compiler/typeofExternalModules_core.ts(5,1): error TS2323: Type 'typeof D' is not assignable to type 'typeof "tests/cases/compiler/typeofExternalModules_external"'.
|
|
Property 'C' is missing in type 'typeof D'.
|
|
tests/cases/compiler/typeofExternalModules_core.ts(7,1): error TS2323: Type 'typeof "tests/cases/compiler/typeofExternalModules_external"' is not assignable to type 'typeof D'.
|
|
Property 'prototype' is missing in type 'typeof "tests/cases/compiler/typeofExternalModules_external"'.
|
|
|
|
|
|
==== tests/cases/compiler/typeofExternalModules_core.ts (2 errors) ====
|
|
import ext = require('typeofExternalModules_external');
|
|
import exp = require('typeofExternalModules_exportAssign');
|
|
|
|
var y1: typeof ext = ext;
|
|
y1 = exp;
|
|
~~
|
|
!!! error TS2323: Type 'typeof D' is not assignable to type 'typeof "tests/cases/compiler/typeofExternalModules_external"'.
|
|
!!! error TS2323: Property 'C' is missing in type 'typeof D'.
|
|
var y2: typeof exp = exp;
|
|
y2 = ext;
|
|
~~
|
|
!!! error TS2323: Type 'typeof "tests/cases/compiler/typeofExternalModules_external"' is not assignable to type 'typeof D'.
|
|
!!! error TS2323: Property 'prototype' is missing in type 'typeof "tests/cases/compiler/typeofExternalModules_external"'.
|
|
==== tests/cases/compiler/typeofExternalModules_external.ts (0 errors) ====
|
|
export class C { }
|
|
|
|
==== tests/cases/compiler/typeofExternalModules_exportAssign.ts (0 errors) ====
|
|
class D { }
|
|
export = D;
|
|
|