-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Open
Labels
Description
Commands doesn't work with export { } from './some_file';. See example below.
// test.js
export function foo(): string {
return 'foo';
}
export function bar(): string {
return 'bar';
}flow autocomplete
/* autocomplete_test.js */
export { } from './test.js';
// ------^ flow autocomplete not working here (returns nothing)
import { } from './test.js';
// ------^ flow autocomplete working here (returns [foo & bar])flow type-at-pos
/* type-at-pos_test.js */
export { foo } from './test.js';
// -------^ flow type-at-pos not working here (returns [(unknown)])
import { foo } from './test.js';
// -------^ flow type-at-pos working here (returns [() => string])flow get-def
/* get-def_test.js */
export { foo } from './test.js';
// -------^ flow get-def not working here (returns [test.js:0:1,0:0])
import { foo } from './test.js';
// -------^ flow get-def working here (returns [test.js:2:17,2:19])Reactions are currently unavailable