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

analyse/type-coverage/property

In the analyse-basic preset and every stricter one. Report only.

What it does

Each property declaration without a native type, while fewer than min percent (default 99) of the project’s property declarations have one; measure = true reports the coverage instead.

Configuration

[analyse.rules]
"type-coverage/property" = "on"

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

Replaces

More analyse/type-coverage rules · Edit this page

Last updated on

Was this page helpful?