@virtualstate/navigation
Version:
Native JavaScript [navigation](https://developer.mozilla.org/en-US/docs/Web/API/Navigation_API) implementation
9 lines (8 loc) • 542 B
TypeScript
declare const WARNINGS: {
readonly EVENT_INTERCEPT_HANDLER: "You are using a non standard interface, please update your code to use event.intercept({ async handler() {} })\nThis will be removed when the first major release of @virtualstate/navigation is published";
};
type WarningKey = keyof typeof WARNINGS;
export declare function setIgnoreWarnings(ignore: boolean): void;
export declare function setTraceWarnings(ignore: boolean): void;
export declare function logWarning(warning: WarningKey, ...message: unknown[]): void;
export {};