UNPKG

scryfall-sdk

Version:

A Node.js SDK for https://scryfall.com/docs/api written in Typescript.

15 lines (14 loc) 526 B
type AnyFunction = (...args: any[]) => any; declare function Cached(target: any, key: string, descriptor: TypedPropertyDescriptor<AnyFunction>): { value(...args: any[]): any; }; declare module Cached { function getObjectsCount(): number; function isGarbageCollectorRunning(): boolean; function clear(): void; function resetCacheDuration(): void; function setDuration(ms: number): void; function resetLimit(): void; function setLimit(count: number): void; } export default Cached;