@types/debounce
Advanced tools
Comparing version 0.0.30 to 1.0.0
@@ -1,2 +0,2 @@ | ||
// Type definitions for compose-function | ||
// Type definitions for debounce 1.0 | ||
// Project: https://github.com/component/debounce | ||
@@ -6,6 +6,3 @@ // Definitions by: Denis Sokolov <https://github.com/denis-sokolov> | ||
// Overload on boolean constants would allow us to narrow further, | ||
// but it is not implemented for TypeScript yet | ||
declare function f<A extends Function>(f: A, interval?: number, immediate?: boolean): A | ||
export default f; | ||
declare function debounce<A extends Function>(f: A, interval?: number, immediate?: boolean): A & { clear(): void; }; | ||
export = debounce; |
{ | ||
"name": "@types/debounce", | ||
"version": "0.0.30", | ||
"description": "TypeScript definitions for compose-function", | ||
"version": "1.0.0", | ||
"description": "TypeScript definitions for debounce", | ||
"license": "MIT", | ||
"author": "Denis Sokolov <https://github.com/denis-sokolov>", | ||
"contributors": [ | ||
{ | ||
"name": "Denis Sokolov", | ||
"url": "https://github.com/denis-sokolov" | ||
} | ||
], | ||
"main": "", | ||
@@ -14,4 +19,5 @@ "repository": { | ||
"dependencies": {}, | ||
"typings": "index.d.ts", | ||
"typesPublisherContentHash": "6de34af20d6c606b103aa7acc59a820fefd7fb679bad031c9b050a057625ab32" | ||
"peerDependencies": {}, | ||
"typesPublisherContentHash": "66a4b3a124fb2118a447d5a276a51511fd175bc4196b2285a380364c559f4ccd", | ||
"typeScriptVersion": "2.0" | ||
} |
@@ -5,15 +5,13 @@ # Installation | ||
# Summary | ||
This package contains type definitions for compose-function (https://github.com/component/debounce). | ||
This package contains type definitions for debounce (https://github.com/component/debounce). | ||
# Details | ||
Files were exported from https://www.github.com/DefinitelyTyped/DefinitelyTyped/tree/types-2.0/debounce | ||
Files were exported from https://www.github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/debounce | ||
Additional Details | ||
* Last updated: Mon, 19 Sep 2016 16:15:24 GMT | ||
* File structure: ProperModule | ||
* Library Dependencies: none | ||
* Module Dependencies: none | ||
* Global values: f | ||
* Last updated: Fri, 21 Apr 2017 15:59:43 GMT | ||
* Dependencies: none | ||
* Global values: none | ||
# Credits | ||
These definitions were written by Denis Sokolov <https://github.com/denis-sokolov>. |
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
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
2671
1
6
17
1