New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
bug(cdk): coerceArray doesn't work with readonly arrays #18806
Closed
klemenoslaj opened this issue
Mar 12, 2020
· 1 comment
· Fixed by #18807, lingounet/testage#19, michael-vasyliv/ngx-virtual-swiper#19, vanjo9800/vankata_tech#7 or Jujulego/tour-of-heroes#6
Closed
bug(cdk): coerceArray doesn't work with readonly arrays #18806
klemenoslaj opened this issue
Mar 12, 2020
· 1 comment
· Fixed by #18807, lingounet/testage#19, michael-vasyliv/ngx-virtual-swiper#19, vanjo9800/vankata_tech#7 or Jujulego/tour-of-heroes#6
Comments
klemenoslaj
added a commit
to klemenoslaj/components
that referenced
this issue
Mar 12, 2020
Fixes a type definition of coerceArray so that it accepts both mutable and immutable arrays. Fixes angular#18806
klemenoslaj
added a commit
to klemenoslaj/components
that referenced
this issue
Mar 12, 2020
Fixes a type definition of coerceArray so that it accepts both mutable and immutable arrays. Fixes angular#18806
klemenoslaj
added a commit
to klemenoslaj/components
that referenced
this issue
Mar 12, 2020
Fixes a type definition of coerceArray so that it accepts both mutable and immutable arrays. Fixes angular#18806
crisbeto
added
has pr
and removed
needs triage
This issue needs to be triaged by the team
labels
Mar 14, 2020
mmalerba
pushed a commit
that referenced
this issue
Mar 21, 2020
Fixes a type definition of coerceArray so that it accepts both mutable and immutable arrays. Fixes #18806
This was referenced Apr 17, 2020
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Reproduction
Use StackBlitz to reproduce your issue: https://stackblitz.com/fork/components-issue
Steps to reproduce:
Expected Behavior
What behavior were you expecting to see?
coerceArray
should preserve the readonly array.Actual Behavior
What behavior did you actually see?
An error:
Environment
dependencies from stackblitz
My thoughts
Type definition is:
I think it should b:
This way it would accept both mutable and readonly arrays.
The text was updated successfully, but these errors were encountered: