5 lines
123 B
TypeScript
5 lines
123 B
TypeScript
|
type LocalForage = {
|
||
|
getItem: <T>(key: string) => Promise<T>;
|
||
|
setItem: <T>(key: string, value: T) => Promise<void>;
|
||
|
};
|