Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

Multiple type import duplicates the import statement #281

Open
demedos opened this issue May 17, 2021 · 0 comments · May be fixed by #283 or #325
Open

Multiple type import duplicates the import statement #281

demedos opened this issue May 17, 2021 · 0 comments · May be fixed by #283 or #325
Labels
bug Something isn't working

Comments

@demedos
Copy link

demedos commented May 17, 2021

import { type Foo, type Baz } from "Source";

is converted into

import type { Foo, Baz } from "Source";
import "Source"; <--- this should be removed

https://flow-to-ts.netlify.app/#code=aW1wb3J0I...

demedos pushed a commit to demedos/flow-to-ts that referenced this issue May 18, 2021
@kevinbarabash kevinbarabash added the bug Something isn't working label May 18, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
2 participants