@salte-auth/salte-auth
Version:
Authentication for the modern web!
14 lines (13 loc) • 399 B
TypeScript
export declare interface SalteAuthEvent extends Event {
detail?: any;
}
export declare interface CreateOptions {
bubbles?: boolean;
cancelable?: boolean;
detail?: any;
}
export declare class Events {
static route(callback: () => void): void;
static create(name: string, params: CreateOptions): SalteAuthEvent;
static isCrossDomainError(e: Error): boolean;
}