@types/each
Advanced tools
+0
-5
@@ -1,6 +0,1 @@ | ||
| // Type definitions for NodeEach v0.4.9 | ||
| // Project: http://www.adaltas.com/projects/node-each/ | ||
| // Definitions by: Michael Zabka <https://github.com/misak113> | ||
| // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped | ||
| interface Each { | ||
@@ -7,0 +2,0 @@ paused: boolean; |
| { | ||
| "name": "@types/each", | ||
| "version": "0.4.31", | ||
| "description": "TypeScript definitions for NodeEach", | ||
| "version": "0.4.32", | ||
| "description": "TypeScript definitions for each", | ||
| "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/each", | ||
| "license": "MIT", | ||
@@ -9,4 +10,4 @@ "contributors": [ | ||
| "name": "Michael Zabka", | ||
| "url": "https://github.com/misak113", | ||
| "githubUsername": "misak113" | ||
| "githubUsername": "misak113", | ||
| "url": "https://github.com/misak113" | ||
| } | ||
@@ -23,4 +24,4 @@ ], | ||
| "dependencies": {}, | ||
| "typesPublisherContentHash": "92d67f6ec6db1f9d66fe260cf9fca951c105c9fe51cef06b1cf5ae7c4181564c", | ||
| "typeScriptVersion": "3.0" | ||
| "typesPublisherContentHash": "8bcd1c24511585686d9167f59331c17c64d5eb9d20f7a15cdeb2ef5e8cb50f98", | ||
| "typeScriptVersion": "4.5" | ||
| } |
+40
-3
@@ -5,13 +5,50 @@ # Installation | ||
| # Summary | ||
| This package contains type definitions for NodeEach (http://www.adaltas.com/projects/node-each/). | ||
| This package contains type definitions for each (http://www.adaltas.com/projects/node-each/). | ||
| # Details | ||
| Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/each. | ||
| ## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/each/index.d.ts) | ||
| ````ts | ||
| interface Each { | ||
| paused: boolean; | ||
| readable: boolean; | ||
| started: number; | ||
| done: number; | ||
| total: number; | ||
| on(eventName: string, onCallback: Function): Each; | ||
| on(eventName: "item", onItem: (item: any, next: (error?: Error) => void) => void): Each; | ||
| on(eventName: "error", onError: (error: Error[]) => void): Each; | ||
| on(eventName: "error", onError: (error: Error) => void): Each; | ||
| on(eventName: "both", onBoth: (error?: Error[]) => void): Each; | ||
| on(eventName: "end", onEnd: () => void): Each; | ||
| parallel(mode: number): Each; | ||
| parallel(mode: boolean): Each; | ||
| shift(items: any[]): void; | ||
| write(items: any[]): void; | ||
| unshift(items: any[]): void; | ||
| end(): Each; | ||
| times(): Each; | ||
| repeat(): Each; | ||
| sync(): Each; | ||
| files(glob: any): void; | ||
| files(base: any, glob: any): void; | ||
| } | ||
| interface EachStatic { | ||
| (array: any[]): Each; | ||
| } | ||
| declare var each: EachStatic; | ||
| declare module "each" { | ||
| export = each; | ||
| } | ||
| ```` | ||
| ### Additional Details | ||
| * Last updated: Fri, 15 May 2020 04:09:13 GMT | ||
| * Last updated: Wed, 18 Oct 2023 01:17:34 GMT | ||
| * Dependencies: none | ||
| * Global values: `each` | ||
| # Credits | ||
| These definitions were written by [Michael Zabka](https://github.com/misak113). |
No website
QualityPackage does not have a website.
Found 1 instance in 1 package
4417
25.95%1
-50%54
217.65%31
-11.43%