UNPKG

local-fake-api

Version:

A simple async local mock API without backend.

5 lines (4 loc) 254 B
export declare function delay(ms: number): Promise<void>; export declare function getStoredItems<T>(key: string): T[]; export declare function setStoredItems<T>(key: string, items: T[]): void; export declare function clearStoredItems(key: string): void;