Skip to content

add a flag to disable () => void being subtype of () => a #8584

@zpdDG4gta8XKpMCd

Description

@zpdDG4gta8XKpMCd

sometimes assuming that the result of a function might be ignored isn't safe, consider adding a flag that would disable such assumptions

followup of #8581

Metadata

Metadata

Assignees

No one assigned

    Labels

    RevisitAn issue worth coming back toSuggestionAn idea for TypeScript

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions