Skip to content
Esc
↑↓navigate↵open⌘Jpreview
On this page

lint/types/add-param-type-method-call

In the types set. Unsafe fix: it can change behaviour.

What it does

Change private method param type to strict type, based on passed strict types

Configuration

[lint.rules]
"types/add-param-type-method-call" = "error"

To skip it in some files or lines, add an override or an ignore comment.

Options

Name Type Allowed values Default Upstream name
treat-classes-as-final bool Any Unknown treatClassesAsFinal

Replaces

More lint/types rules · Edit this page

Last updated on

Was this page helpful?