Auto-Import
Auto-Import copied to clipboard
[BUG] typeimport bug when importing on typed files
Whenever I try to import something that already has some type imported this happens:
Before import:
import User from '../User';
import type { UserType } from '../User';
After import:
import User from '../User';
import typeimport { otherImport } from '../otherImport'; { UserType } from '../User';
The desired result would be:
import User from '../User';
import type { UserType } from '../User';
import { otherImport } from '../otherImport';
EDIT: I'm using flow BTW.
May be related to #86