import-js/eslint-plugin-import
View on GitHubno-unused-modules doesn't report unused Flow type exports
Open
#1,540 opened on Nov 13, 2019
bugflowhelp wanted
Repository metrics
- Stars
- (4,946 stars)
- PR merge metrics
- (Avg merge 138d 22h) (3 merged PRs in 30d)
Description
// foo.js
// @flow strict
export type Foo = string
export default ''
// index.js
// @flow strict
import foo from './foo'
Expected: export type Foo is reported as unused
Actual: no errors