1
Fork 0

add exported types

This commit is contained in:
Conduitry 2020-10-14 18:48:32 -04:00
parent 08f0db5b31
commit 951df22461

7
types/index.d.ts vendored Normal file
View file

@ -0,0 +1,7 @@
export function autocache(
path: string,
mode: string | number | boolean | null | undefined,
): {
cache: (key: string, compute_value: () => Promise<any>) => Promise<any>;
close: () => void;
};