@virtualstate/app-history
Version:
Native JavaScript [app-history](https://github.com/WICG/app-history) implementation
14 lines • 516 B
JavaScript
import { assertAppHistory } from "./app-history.js";
try {
const { AppHistory } = (await import("@virtualstate/app-history-imported")) ?? { AppHistory: undefined };
if (AppHistory) {
const input = () => new AppHistory();
const fn = await assertAppHistory(input);
fn(input);
console.log(`PASS assertAppHistory:imported:new AppHistory`);
}
}
catch {
console.warn(`WARN FAILED assertAppHistory:imported:new AppHistory`);
}
//# sourceMappingURL=app-history.imported.js.map