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

貢獻者指南