import { HistoryEnv } from './types' /** * Create a HistoryEnv for the browser. */ export function createHistoryEnv(): HistoryEnv { return { location, history } }