Skip to content

Docs: no-unused-modules #3161

Open
Open
@ej612

Description

@ej612

It looks like the docs for the ignoreUnusedTypeExports option of the rule no-unused-modules are wrong:

ignoreUnusedTypeExports: if true, TypeScript type exports without any static usage within other modules are reported (defaults to false and has no effect unless unusedExports is true)

[Source]

It says "If true, [unused] type exports [..] are reported", which is the opposite of what I'd expect an option called "ignoreXY" to do.

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions