@types/get-pixels
Advanced tools
@@ -10,3 +10,3 @@ // Type definitions for get-pixels 3.3 | ||
| type Callback = (err: Error | null, pixels: NdArray) => void; | ||
| type Callback = (err: Error | null, pixels: NdArray<Uint8Array>) => void; | ||
@@ -13,0 +13,0 @@ declare function getPixels(path: string, callback: Callback): void; |
| { | ||
| "name": "@types/get-pixels", | ||
| "version": "3.3.1", | ||
| "version": "3.3.2", | ||
| "description": "TypeScript definitions for get-pixels", | ||
| "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/get-pixels", | ||
| "license": "MIT", | ||
@@ -25,4 +26,4 @@ "contributors": [ | ||
| }, | ||
| "typesPublisherContentHash": "909f7cf5573fc0894fb4dcc2beb88e05f1746c1c70914822226d138c2a9e3ad8", | ||
| "typeScriptVersion": "3.5" | ||
| "typesPublisherContentHash": "ea53d4263843e8b29cef8e3cdcdd96f58c6952c2d2d6220f96e86f67785c0a98", | ||
| "typeScriptVersion": "3.8" | ||
| } |
+20
-1
@@ -9,5 +9,24 @@ # Installation | ||
| Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/get-pixels. | ||
| ## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/get-pixels/index.d.ts) | ||
| ````ts | ||
| // Type definitions for get-pixels 3.3 | ||
| // Project: https://github.com/scijs/get-pixels#readme | ||
| // Definitions by: Don McCurdy <https://github.com/donmccurdy> | ||
| // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped | ||
| /// <reference types="node" /> | ||
| import { NdArray } from "ndarray"; | ||
| type Callback = (err: Error | null, pixels: NdArray<Uint8Array>) => void; | ||
| declare function getPixels(path: string, callback: Callback): void; | ||
| declare function getPixels(path: string | Uint8Array, type: string, callback: Callback): void; | ||
| export = getPixels; | ||
| ```` | ||
| ### Additional Details | ||
| * Last updated: Mon, 10 May 2021 16:31:28 GMT | ||
| * Last updated: Mon, 22 Nov 2021 21:01:02 GMT | ||
| * Dependencies: [@types/ndarray](https://npmjs.com/package/@types/ndarray), [@types/node](https://npmjs.com/package/@types/node) | ||
@@ -14,0 +33,0 @@ * Global values: none |
No website
QualityPackage does not have a website.
Found 1 instance in 1 package
3849
25.74%0
-100%36
111.76%