==== tests/cases/conformance/externalModules/foo_1.ts (1 errors) ==== import foo0 = require('./foo_0'); // Per 11.2.3, foo_0 should still be "instantiated", albeit with no members var x: typeof foo0 = {}; var y: {M2: Object} = foo0; ~ !!! Type 'typeof "tests/cases/conformance/externalModules/foo_0"' is not assignable to type '{ M2: Object; }': !!! Property 'M2' is missing in type 'typeof "tests/cases/conformance/externalModules/foo_0"'. ==== tests/cases/conformance/externalModules/foo_0.ts (0 errors) ==== export interface Person { name: string; age: number; } export module M2 { export interface I2 { x: Person; } }