@types/debounce
Advanced tools
Comparing version 1.0.0 to 3.0.0
@@ -1,7 +0,13 @@ | ||
// Type definitions for debounce 1.0 | ||
// Type definitions for debounce 3.0 | ||
// Project: https://github.com/component/debounce | ||
// Definitions by: Denis Sokolov <https://github.com/denis-sokolov> | ||
// Josh Goldberg <https://github.com/joshuakgoldberg> | ||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped | ||
declare function debounce<A extends Function>(f: A, interval?: number, immediate?: boolean): A & { clear(): void; }; | ||
export = debounce; | ||
declare namespace _debounce { | ||
const debounce: typeof _debounce; | ||
} | ||
declare function _debounce<A extends Function>(f: A, interval?: number, immediate?: boolean): A & { clear(): void; }; | ||
export = _debounce; |
{ | ||
"name": "@types/debounce", | ||
"version": "1.0.0", | ||
"version": "3.0.0", | ||
"description": "TypeScript definitions for debounce", | ||
@@ -9,15 +9,21 @@ "license": "MIT", | ||
"name": "Denis Sokolov", | ||
"url": "https://github.com/denis-sokolov" | ||
"url": "https://github.com/denis-sokolov", | ||
"githubUsername": "denis-sokolov" | ||
}, | ||
{ | ||
"name": "Josh Goldberg", | ||
"url": "https://github.com/joshuakgoldberg", | ||
"githubUsername": "joshuakgoldberg" | ||
} | ||
], | ||
"main": "", | ||
"types": "", | ||
"repository": { | ||
"type": "git", | ||
"url": "https://www.github.com/DefinitelyTyped/DefinitelyTyped.git" | ||
"url": "https://github.com/DefinitelyTyped/DefinitelyTyped.git" | ||
}, | ||
"scripts": {}, | ||
"dependencies": {}, | ||
"peerDependencies": {}, | ||
"typesPublisherContentHash": "66a4b3a124fb2118a447d5a276a51511fd175bc4196b2285a380364c559f4ccd", | ||
"typesPublisherContentHash": "a75f5ed6131a30926c4230a513edcc3d8a04f483d5c242ac375bdead29b8ea82", | ||
"typeScriptVersion": "2.0" | ||
} |
@@ -8,6 +8,6 @@ # Installation | ||
# Details | ||
Files were exported from https://www.github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/debounce | ||
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/debounce | ||
Additional Details | ||
* Last updated: Fri, 21 Apr 2017 15:59:43 GMT | ||
* Last updated: Tue, 16 Oct 2018 16:30:27 GMT | ||
* Dependencies: none | ||
@@ -17,2 +17,2 @@ * Global values: none | ||
# Credits | ||
These definitions were written by Denis Sokolov <https://github.com/denis-sokolov>. | ||
These definitions were written by Denis Sokolov <https://github.com/denis-sokolov>, Josh Goldberg <https://github.com/joshuakgoldberg>. |
Trivial Package
Supply chain riskPackages less than 10 lines of code are easily copied into your own project and may not warrant the additional supply chain risk of an external dependency.
Found 1 instance in 1 package
Trivial Package
Supply chain riskPackages less than 10 lines of code are easily copied into your own project and may not warrant the additional supply chain risk of an external dependency.
Found 1 instance in 1 package
3051
10