UNPKG

typed-catch-of-the-day

Version:

typescript version of wes bos' catch of the day app

26 lines (22 loc) 609 B
/** * Indicates that navigation was caused by a call to history.push. */ export const PUSH = 'PUSH' /** * Indicates that navigation was caused by a call to history.replace. */ export const REPLACE = 'REPLACE' /** * Indicates that navigation was caused by some other action such * as using a browser's back/forward buttons and/or manually manipulating * the URL in a browser's location bar. This is the default. * * See https://developer.mozilla.org/en-US/docs/Web/API/WindowEventHandlers/onpopstate * for more information. */ export const POP = 'POP' export default { PUSH, REPLACE, POP }