import type * as Pretty Format from './types' yarn start code example Example: import type * as PrettyFormat from './types'; import * as PrettyFormat from './types';