capaj / vscode-exports-autocomplete

finds javascript ES6 exports in your project and autocompletes them when writing javascript statements
MIT License
18 stars 6 forks source link

flow import type is not properly handled #42

Open capaj opened 6 years ago

capaj commented 6 years ago
import Router from 'koa-router'
import boom from 'boom'
import type { Context } from 'koa'

when adding a new import db to this I get

import Router from 'koa-router'
import boom from 'boom'
import typeimport db from '../../db';
 { Context } from 'koa'

we should handle flow type imports properly