UNPKG

@virtualstate/navigation

Version:

Native JavaScript [navigation](https://developer.mozilla.org/en-US/docs/Web/API/Navigation_API) implementation

13 lines (10 loc) 285 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; }