2
0
mirror of https://github.com/iconify/iconify.git synced 2025-01-29 01:58:32 +00:00

22 lines
386 B
TypeScript
Raw Normal View History

2020-12-25 21:03:15 +02:00
import type { IconifyJSON } from '@iconify/types';
2020-04-28 12:47:35 +03:00
/**
* Function to cache loaded icons set
*/
export type CacheIcons = (provider: string, data: IconifyJSON) => void;
2020-04-28 12:47:35 +03:00
/**
* Function to load icons from cache
*/
export type LoadIconsCache = () => void;
/**
* Module
*/
interface CacheModule {
store?: CacheIcons;
load?: LoadIconsCache;
}
export const cache: CacheModule = {};