/* eslint-disable @typescript-eslint/no-unused-vars */ import State from './State'; import { AuthContext } from 'app/services/authFlow'; export default class AbstractState implements State { resolve(context: AuthContext, payload: Record): Promise | void {} goBack(context: AuthContext): void { throw new Error('There is no way back'); } reject(context: AuthContext, payload?: Record): void {} enter(context: AuthContext): Promise | void {} leave(context: AuthContext): void {} }