import { props } from 'rxjs-props';
props({
str: of('str'),
num: of(123),
}).subscribe(({ str, num }) => {
console.log(str === 'str'); // true
console.log(num === 123); // true
});
kolodny / rxjs-props Goto Github PK
View Code? Open in Web Editor NEWLike Promise.props but for rxjs