decapi icon indicating copy to clipboard operation
decapi copied to clipboard

infer argument/field types with default values

Open capaj opened this issue 6 years ago • 0 comments

@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

capaj avatar Sep 17 '19 17:09 capaj