Skip to content

Add --listExplicitAny or --warnExplicitAny #13316

Closed
@unional

Description

@unional

Agree with @aluanhaddad in his comment about the backfire effect of --noImplicitAny
#11839 (comment)

It would be nice to add --listExplicitAny or --warnExplicitAny flag to catch those unfortunate circumstances.

Doing a text search for : any may work, but I worry that there may be some case this simple text search is not sufficient.
Since the compiler has all the information needed, it may be better to let the compiler helping out here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Out of ScopeThis idea sits outside of the TypeScript language design constraintsSuggestionAn idea for TypeScript

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions