Skip to content

infer argument/field types with default values #34

@capaj

Description

@capaj

@typescript-eslint/no-inferrable-types
omits type for booleans and other primitives if they have default values.
Ideally we could infer the type in decapi too so that the default rules in @typescript-eslint work nicely together with decapi.

For example:
image

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions