@resourge/react-fetch
Version:
[](LICENSE)
15 lines (14 loc) • 364 B
TypeScript
/**
* react-fetch v1.41.3
*
* Copyright (c) resourge.
*
* This source code is licensed under the MIT license found in the
* LICENSE.md file in the root directory of this source tree.
*
* @license MIT
*/
/**
* Triggers on window's focus, after blur.
*/
export declare const useOnFocusFetch: (fetch: () => Promise<void>, onWindowFocus?: boolean) => void;