**TypeScript Version:** 3.8.0-dev.20200123 **Search Terms:** type only import merged namesapce **Code** ```ts // file1.ts export interface Foo { } export namespace Foo { export const x = 1; } // file2.ts import type { Foo } from "./file1"; declare function f(): Foo; // (1) ``` **Expected behavior:** 1. No error **Actual behavior:** 1. Error: `Cannot use namespace 'Foo' as a type.` **Playground Link:** **Related Issues:**