Skip to content

Latest commit

 

History

History
19 lines (11 loc) · 857 Bytes

no-subject-value.md

File metadata and controls

19 lines (11 loc) · 857 Bytes

Disallow accessing the value property of a BehaviorSubject instance (rxjs-x/no-subject-value)

💭 This rule requires type information.

This rule effects an error if the value property - or getValue method - of a BehaviorSubject is used.

When Not To Use It

If your code uses the value property or the getValue method of BehaviorSubject, then don't enable this rule.

Type checked lint rules are more powerful than traditional lint rules, but also require configuring type checked linting.

Resources