vscode-js-import
vscode-js-import copied to clipboard
Support importing flow types
Hi, thanks for building this extension, it is very useful, just one feature is missing
Importing Flow types, e.g.
in actionTypes.js
:
export type TRequestAction = {
type: string,
params: any,
};
in sagas.js
import type { TRequestAction } from `../.../.../types/actionTypes.js`
@romanlv Flow is so different from import system of js or ts, when you import a type, you should add keyword import type
. So the extension should know the type is flow type. I think i will spend some time to realize it due to Chinese New Year.
I sooo need this. Thank you if you can get to it!!