ts-importer icon indicating copy to clipboard operation
ts-importer copied to clipboard

Not merging default and named imports

Open rndmerle opened this issue 7 years ago • 0 comments

Hi.

When I import, from the same module, a named export and then the default export (or the other way around), it produces two different import entries instead of a single one.

Expected result:

import something, { named } from "./something";

Actual result:

import something from "./something";
import { named } from "./something";

Thanks for your time.

rndmerle avatar Jan 21 '18 11:01 rndmerle