Skip to content

In JS, don't complain about a better inferred type if there's no code action #28702

Open

Description

TypeScript Version: 3.2.0-rc

Search Terms: inferred type

Code
JS file with checkJS on:
unbenannt

This message is on every single parameter without a JSDoc comment!

Expected behavior:
No complaint, or a code action that is offered

Actual behavior:
Complaint about a better inferred type, Ctrl + . offers no code actions.

Related Issues: #22357

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    Domain: JavaScriptThe issue relates to JavaScript specificallyExperience EnhancementNoncontroversial enhancementsFix AvailableA PR has been opened for this issueFixedA PR has been merged for this issueSuggestionAn idea for TypeScript

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions