@types/throttle-debounce
Advanced tools
Comparing version 1.0.0 to 1.1.0
@@ -1,4 +0,4 @@ | ||
// Type definitions for throttle-debounce 1.0 | ||
// Type definitions for throttle-debounce 1.1 | ||
// Project: https://github.com/niksy/throttle-debounce | ||
// Definitions by: Marek Buchar <https://github.com/czbuchi> | ||
// Definitions by: Marek Buchar <https://github.com/czbuchi>, Frank Li <https://github.com/franklixuefei> | ||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped | ||
@@ -33,3 +33,3 @@ | ||
*/ | ||
export function throttle<T>( | ||
export function throttle<T extends (...args: any[]) => any>( | ||
delay: number, | ||
@@ -61,3 +61,3 @@ noTrailing: boolean, | ||
*/ | ||
export function throttle<T>( | ||
export function throttle<T extends (...args: any[]) => any>( | ||
delay: number, | ||
@@ -92,3 +92,3 @@ callback: T, | ||
*/ | ||
export function debounce<T>(delay: number, atBegin: boolean, callback: T): T; | ||
export function debounce<T extends (...args: any[]) => any>(delay: number, atBegin: boolean, callback: T): T; | ||
@@ -112,2 +112,2 @@ /** | ||
*/ | ||
export function debounce<T>(delay: number, callback: T): T; | ||
export function debounce<T extends (...args: any[]) => any>(delay: number, callback: T): T; |
{ | ||
"name": "@types/throttle-debounce", | ||
"version": "1.0.0", | ||
"version": "1.1.0", | ||
"description": "TypeScript definitions for throttle-debounce", | ||
@@ -11,2 +11,7 @@ "license": "MIT", | ||
"githubUsername": "czbuchi" | ||
}, | ||
{ | ||
"name": "Frank Li", | ||
"url": "https://github.com/franklixuefei", | ||
"githubUsername": "franklixuefei" | ||
} | ||
@@ -17,8 +22,8 @@ ], | ||
"type": "git", | ||
"url": "https://www.github.com/DefinitelyTyped/DefinitelyTyped.git" | ||
"url": "https://github.com/DefinitelyTyped/DefinitelyTyped.git" | ||
}, | ||
"scripts": {}, | ||
"dependencies": {}, | ||
"typesPublisherContentHash": "f7a944e6e61396b37f595f636c3aff2c4b1d6dd3dca114ebd4eb5790b27ff551", | ||
"typesPublisherContentHash": "2eeb9f13a3bdca9abecc3fc996c206769cd796ec96b3dc36e68a5a83c09d6fb7", | ||
"typeScriptVersion": "2.0" | ||
} |
@@ -8,6 +8,6 @@ # Installation | ||
# Details | ||
Files were exported from https://www.github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/throttle-debounce | ||
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/throttle-debounce | ||
Additional Details | ||
* Last updated: Thu, 28 Dec 2017 21:41:58 GMT | ||
* Last updated: Mon, 09 Jul 2018 20:32:27 GMT | ||
* Dependencies: none | ||
@@ -17,2 +17,2 @@ * Global values: none | ||
# Credits | ||
These definitions were written by Marek Buchar <https://github.com/czbuchi>. | ||
These definitions were written by Marek Buchar <https://github.com/czbuchi>, Frank Li <https://github.com/franklixuefei>. |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
6724