rn-async-storage-flipper
Version:
React Native's Async Storage debugger for Flipper
11 lines (8 loc) • 347 B
TypeScript
interface Storage {
getAllKeys(callback?: (error?: Error, keys?: string[]) => void): Promise<string[]>;
multiGet(
keys: string[],
callback?: (errors?: Error[], result?: [string, string | null][]) => void
): Promise<[string, string | null][]>;
}
export default function RNAsyncStorageFlipper(_storage: Storage): void;