UNPKG

@virtualstate/app-history

Version:

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

11 lines (8 loc) 283 B
import {EventCallback} from "./callback" export const EventDescriptorSymbol = Symbol.for("@opennetwork/environment/events/descriptor"); export interface EventDescriptor { [EventDescriptorSymbol]: true; type: string | symbol callback: EventCallback once?: boolean }