UNPKG

one

Version:

One is a React framework for web, iOS, and Android apps.

13 lines • 562 B
export type DatabaseKeyValue = Readonly<{ getItem(key: string): string | null; setItem(key: string, value: string): void; removeItem(key: string): void; getAllKeys(): string[]; clear(): void; close(): void; }>; export declare function requireName(name: unknown): string; export declare function requireKey(verb: string, key: unknown): string; export declare function requireValue(verb: string, value: unknown): string; export declare function assertOpen(verb: string, closed: boolean): void; //# sourceMappingURL=keyValueValidate.d.ts.map