Skip to content

Question: implicit "any" from "yield" warning? #1715

Closed
@Vanuan

Description

@Vanuan

Is it feasible to add a warning for yield result to be assigned to non-typed variable or as non-typed argument?

TypeScript doesn't always infer the yield return type:

microsoft/TypeScript#26959

Metadata

Metadata

Assignees

No one assigned

    Labels

    awaiting responseIssues waiting for a reply from the OP or another partypackage: eslint-pluginIssues related to @typescript-eslint/eslint-pluginquestionQuestions! (i.e. not a bug / enhancment / documentation)

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions