eslint-plugin-better-tailwindcss
Version:
auto-wraps tailwind classes after a certain print width or class count into multiple lines to improve readability.
9 lines • 591 B
TypeScript
interface CacheItem {
date: Date;
value: any;
}
export declare function invalidateByModifiedDate(cache: CacheItem, path: string | undefined): boolean;
export declare function withCache<Result>(key: string, path: string | undefined, callback: () => Result, invalidate?: (cache: CacheItem, path: string | undefined) => boolean): Result;
export declare function withCache<Result>(key: string, path: string | undefined, callback: () => Promise<Result>, invalidate?: (cache: CacheItem, path: string | undefined) => boolean): Promise<Result>;
export {};
//# sourceMappingURL=cache.d.ts.map