UNPKG

@virtualstate/app-history

Version:

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

7 lines (6 loc) 281 B
import {AppHistory} from "../app-history"; import {AppHistoryAssertFn, assertAppHistory} from "./app-history"; const input = () => new AppHistory(); const fn: AppHistoryAssertFn = await assertAppHistory(input); fn(input); console.log("PASS assertAppHistory:local:new AppHistory");