This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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'; |