8000 infer argument/field types with default values · Issue #34 · capaj/decapi · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
infer argument/field types with default values #34
Open
@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

      0