angular中的这个是什么意思,这是什么类型?

What does this mean in angular, what kind of type is this?

我想知道这个类型是什么意思:

type newtype = (state: EntityState<IEntities>) => IEntities[];

EntityState<T>是一个ngrx类型,你可以check here.

并且 type newtype = (state: EntityState<IEntities>) => IEntities[]; 定义了一个函数类型,它接收类型为 EntityState<IEntities> 的状态参数和 returns 一个 IEntities[] 数组。