UNPKG

@cedx/webstorage

Version:

Service for interacting with the Web Storage.

26 lines 663 B
/** * An event dispatched when the storage has been changed. */ export declare class StorageEvent extends Event { /** * The changed key. */ readonly key: string | null; /** * The new value. */ readonly newValue: any; /** * The original value. */ readonly oldValue: any; /** * Creates a new cookie event. * @param type The event type. * @param key The changed key. * @param oldValue The original value. * @param newValue The new value. */ constructor(type: string, key: string | null, oldValue?: unknown, newValue?: unknown); } //# sourceMappingURL=StorageEvent.d.ts.map