UNPKG

@ohm-vision/react-storage

Version:

Extension to React to interact with native Window Storage object

11 lines (10 loc) 304 B
export declare class FileManager { private _length; get length(): number; constructor(); getItem(key: string): Promise<string>; key(index: number): Promise<void>; removeItem(key: string): Promise<void>; setItem(key: string, value: string): Promise<void>; clear(): void; }