Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- uploadPicture: Subject<UploadPicture> = new Subject<UploadPicture>();
- previewPictures$ = this.uploadPicture.pipe(
- scan(
- (pictures, newPicture) => [...pictures, newPicture],
- new Array<UploadPicture>()
- )
- );
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement