'What does this mean in angular, what kind of type is this?
I would like to know what this type means:
type newtype = (state: EntityState<IEntities>) => IEntities[];
Solution 1:[1]
The EntityState<T> is an ngrx type, you could check here.
And type newtype = (state: EntityState<IEntities>) => IEntities[]; defines a function type that recieves a state parameter of type EntityState<IEntities> and returns an IEntities[] array.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | cybering |
