如何转换Observable <observable <organization> []&gt;到Observable <organization []>?

时间:2018-05-13 09:34:28

标签: typescript firebase firebase-realtime-database angular5

我正在使用ngrx / store

.map((p: Observable<Organization>[]) => {
        return new usersActions.GetOrganizationSuccess(p);
      })

GetOrganizationSuccess操作将Organization []作为有效负载

如何将(p)从Observable<Organization>[]转换为Organization[]

0 个答案:

没有答案