UNPKG

@harmowatch/ngx-redux-core

Version:

[![Join the chat at https://gitter.im/harmowatch/ngx-redux-core](https://badges.gitter.im/harmowatch/ngx-redux-core.svg)](https://gitter.im/harmowatch/ngx-redux-core?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)

11 lines (10 loc) 637 B
import { NgZone, Type } from '@angular/core'; import { ReplaySubject } from 'rxjs'; import { ReduxRootState } from './interfaces/redux-root-state.interface'; import { ReduxStateProvider } from './providers/redux-state.provider'; export declare class ReduxSelector<T> extends ReplaySubject<T> { private static readonly DELIMITER; constructor(zone: NgZone, selector?: string, stateProvider?: Type<ReduxStateProvider>); static normalize(selector: string, stateProvider?: Type<ReduxStateProvider>): string; static getValueByState<S>(state: ReduxRootState<S>, selector: string, stateProvider?: Type<ReduxStateProvider>): S; }