UNPKG

react-query

Version:

Hooks for managing, caching and syncing asynchronous and remote data in React

10 lines (9 loc) 266 B
export interface Logger { log: LogFunction; warn: LogFunction; error: LogFunction; } declare type LogFunction = (...args: any[]) => void; export declare function getLogger(): Logger; export declare function setLogger(newLogger: Logger): void; export {};