@martiandao/aptos-web3-bip44.js
Version:
Web3 SDK For Aptos
13 lines • 671 B
TypeScript
/**
* Credits to https://github.com/darrylhodgins/typescript-memoize
*/
interface MemoizeArgs {
ttlMs?: number;
hashFunction?: boolean | ((...args: any[]) => any);
tags?: string[];
}
export declare function Memoize(args?: MemoizeArgs | MemoizeArgs["hashFunction"]): (target: Object, propertyKey: string, descriptor: TypedPropertyDescriptor<any>) => void;
export declare function MemoizeExpiring(ttlMs: number, hashFunction?: MemoizeArgs["hashFunction"]): (target: Object, propertyKey: string, descriptor: TypedPropertyDescriptor<any>) => void;
export declare function clear(tags: string[]): number;
export {};
//# sourceMappingURL=memoize-decorator.d.ts.map