@v4fire/core
Version:
V4Fire core library
24 lines (23 loc) • 586 B
TypeScript
/*!
* V4Fire Core
* https://github.com/V4Fire/Core
*
* Released under the MIT license
* https://github.com/V4Fire/Core/blob/master/LICENSE
*/
/**
* Decorator for `Function.prototype.debounce`
*
* @decorator
* @see [[Function.debounce]]
* @param [delay] - delay value (in milliseconds)
*/
export declare function debounce(delay?: number): MethodDecorator;
/**
* Decorator for `Function.prototype.throttle`
*
* @decorator
* @see [[Function.throttle]]
* @param [delay] - delay value (in milliseconds)
*/
export declare function throttle(delay?: number): MethodDecorator;