Skip to content

infer argument/field types with default values #34

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

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions