hz-zhhq-app/node_modules/cookie-storage/lib/storage.d.ts

9 lines
238 B
TypeScript

export interface Storage {
readonly length: number;
clear(): void;
getItem(key: string): string | null;
key(index: number): string | null;
removeItem(key: string): void;
setItem(key: string, data: string): void;
}