Skip to content

Latest commit

 

History

History
23 lines (15 loc) · 449 Bytes

no-ignored-observable.md

File metadata and controls

23 lines (15 loc) · 449 Bytes

Use returned observables (no-ignored-observable)

The effects failures if an observable returned by a function is neither assigned to a variable or property or passed to a function.

Rule details

Examples of incorrect code for this rule:

import { of } from "rxjs";
of(42, 54);

Examples of correct code for this rule:

import { of } from "rxjs";
const answers = of(42, 54);

Options

This rule has no options.