UNPKG

xior

Version:

A lite http request lib based on fetch with plugins support and similar API to axios.

11 lines (9 loc) 203 B
type ICacheLike<T> = { get(key: string): T | undefined; set(key: string, value: T): void; } & ({ del(key: string): void; } | { delete(key: string): void; }); export { ICacheLike as I };