Skip to content

valid-types can't work with inline param names #198

@dietergeerts

Description

@dietergeerts

The following type, which was valid with the built-in eslint valid-jsdoc rule, is not valid:

@returns {function(myParam:string): number}

We have this a lot, as it gives extra meaning to the params needed without having to create @callback blocks all the time.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions