Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

no-unused-modules doesn't report unused Flow type exports #1540

Open
Hypnosphi opened this issue Nov 13, 2019 · 0 comments · Fixed by #1542
Open

no-unused-modules doesn't report unused Flow type exports #1540

Hypnosphi opened this issue Nov 13, 2019 · 0 comments · Fixed by #1542

Comments

@Hypnosphi
Copy link
Contributor

// 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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging a pull request may close this issue.

2 participants