UNPKG

@wandelbots/nova-js

Version:

Official JS client for the Wandelbots API

15 lines 534 B
/** * Safety wrapper around browser localStorage providing context availability * checks and JSON parsing */ declare class AvailableStorage { available: boolean; getJSON<T>(key: string): Partial<T> | null; setJSON(key: string, obj: any): null | undefined; delete(key: string): null | undefined; setString(key: string, value: string): null | undefined; getString(key: string): string | null; } export declare const availableStorage: AvailableStorage; export {}; //# sourceMappingURL=availableStorage.d.ts.map