Skip to content

Instantly share code, notes, and snippets.

View jefo's full-sized avatar

Eugen Y jefo

View GitHub Profile
import {INgRedux} from 'ng-redux';
export default class NgReduxStub implements INgRedux {
private selectedState: any;
private target: any;
private mapState: (state: any) => Object;
push(selectedState: any) {
if (!_.isPlainObject(selectedState)) {
throw 'selectedState must be a plain object';