namespace Foo { export class Bar {} } interface C1 extends Foo?.Bar {}