RxJS Utils
Utility library providing RxJS operators.
Installation
Run command: npm install --save @mjamsek/rxjs-utils
Documentation
Type assertions
Assert type
assertType<T>()
asserts observable is of type T
. Usage:
observable$.pipe(
assertType<string>(),
);
Assert void
assertVoid()
asserts observable is of type void
. Usage:
observable$.pipe(
assertVoid(),
);
Bugs & Features
Any issues, requests for a new feature, etc. can be filled using GitHub Issues.
License
MIT