UNPKG

@virtualstate/app-history

Version:

Native JavaScript [app-history](https://github.com/WICG/app-history) implementation

16 lines (14 loc) 474 B
/* c8 ignore start */ import {AppHistoryAssertFn, assertAppHistory} from "./app-history"; if (typeof appHistory !== "undefined") { try { const input = () => appHistory; const fn: AppHistoryAssertFn = await assertAppHistory(input); fn(input); console.log("PASS assertAppHistory:scope:new AppHistory"); } catch (error) { console.log("FAIL assertAppHistory:scope:new AppHistory"); throw error; } } export default 1;