eslint-plugin-rxjs
Version:
ESLint rules for RxJS
23 lines (15 loc) • 504 B
Markdown
explicit type arguments when the type arguments can be inferred.
Examples of **incorrect** code for this rule:
```ts
import { BehaviorSubject } from "rxjs";
const subject = new BehaviorSubject<number>(42);
```
Examples of **correct** code for this rule:
```ts
import { BehaviorSubject } from "rxjs";
const subject = new BehaviorSubject(42);
```
This rule has no options.
This rule prevents the use of