Add support for ReadonlyArray in NgIterable
See original GitHub issueπ feature request
Relevant Package
This feature request is for @angular/coreDescription
type NgIterable<T> = Array<T> | Iterable<T>;
Please change it into
type NgIterable<T> = ReadonlyArray<T> | Iterable<T>;
Issue Analytics
- State:
- Created 3 years ago
- Reactions:3
- Comments:9 (7 by maintainers)
Top Results From Across the Web
NgIterable - Angular
A type describing supported iterable types. ... Code licensed under an MIT-style License. Documentation licensed under CC BY 4.0. Version 15.0.5-local+sha.
Read more >How do I declare a read-only array tuple in TypeScript?
We can declare a typed tuple in TypeScript, for example, with the type annotation [string, number] . This means an array of 2...
Read more >angular/core/core.d.ts - UNPKG
TODO: Add a link to a chapter on OnPush components --> ... 768, * Low-level service for running the angular compiler during runtime....
Read more >ReadonlyArray | typescript - v3.7.7
Interface ReadonlyArray<T> ... Additional items to add to the end of array1. ... Adds all the elements of an array separated by the...
Read more >[Solved]-Type 'Observable<ArrayBuffer>' is not assignable to ...
And a service layer which was responsible to perform http calls: ... [param: string]: string | number | boolean | ReadonlyArray<string | number...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Iβm confused by this in general, since Array<T> is already a subtype of Iterable<T>.
This issue has been automatically locked due to inactivity. Please file a new issue if you are encountering a similar or related problem.
Read more about our automatic conversation locking policy.
This action has been performed automatically by a bot.