import { State , AppHistory } from '../interfaces' ; export default abstract class Action { abstract next ( state ) ; abstract prev ( state ) ; prepare ( appHistory ) { return appHistory ; } getMessage ( ) { return this . constructor . name ; } }