UNPKG

@resourge/react-fetch

Version:

[![License](https://img.shields.io/badge/License-MIT-blue.svg)](LICENSE)

15 lines (14 loc) 367 B
/** * react-fetch v1.43.1 * * 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 */ export declare const throttleMethod: <T extends any[]>(method: (...args: T) => any, threshold?: number) => { (...args: T): void; clear(): void; };