Press n or j to go to the next uncovered block, b, p or k for the previous block.
1 2 3 4 5 6 7 8 9 10 11 12 | 89x 25x 6x 20x | import { createSelector } from '@ngrx/store'; import type { IHttpProgressState, IHttpProgressStateModel } from './http-progress.interface'; const selectFeature = (state: IHttpProgressState) => state.httpProgress; export const httpProgressSelector = { mainView: createSelector(selectFeature, (state: IHttpProgressStateModel) => state.mainView), sidebar: createSelector(selectFeature, (state: IHttpProgressStateModel) => state.sidebar), toaster: createSelector(selectFeature, (state: IHttpProgressStateModel) => state.toaster), }; |