import-js/eslint-plugin-import

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

Open

#1,540 创建于 2019年11月13日

在 GitHub 查看
 (0 评论) (0 反应) (0 负责人)JavaScript (4,946 star) (1,540 fork)batch import
bugflowhelp wanted

描述

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

贡献者指南