boa-handler-history
Version:
A b-o-a handler for History API
13 lines (12 loc) • 316 B
TypeScript
import { Handler } from 'boa-core';
import { Route } from 'boa-router';
export interface HistoryResponse {
handler: Handler;
}
declare const init: (historyOptions: {
goToActionType?: string;
historyType?: string;
routes: Route[];
routeActionType?: string;
}) => HistoryResponse;
export { init };