Skip to content

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

Open
@Hypnosphi

Description

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions