-
-
Notifications
You must be signed in to change notification settings - Fork 210
Closed
Description
Description
When using the update function from rx-angular/cdk/transformations to update an item in an array, that item is not typed anymore.
Steps to Reproduce the Issue
Create an array with an item, update set item with a new value using the update function. Check the instaceof the item.
Stackblitz example: https://stackblitz.com/edit/angular-ivy-dko7ba?file=src/app/app.component.ts
Example will create a collection, patch the collection using the update and log the results in the console. The last check will actually fail while it should:

You can actually see that in the console that the typing is not known anymore (foo -> object):

Environment
jochenjonc, bjarne-callewaert and jonasvdb1
Metadata
Metadata
Assignees
Labels
No labels
