mirror of
https://github.com/FlipsideCrypto/DefinitelyTyped.git
synced 2026-02-06 19:07:08 +00:00
Fix for optional callback parameters
Signed-off-by: Jack Works <zjwpeter@gmail.com>
This commit is contained in:
parent
d9b8e7f7b8
commit
cd05e82852
2
jimp/index.d.ts
vendored
2
jimp/index.d.ts
vendored
@ -93,7 +93,7 @@ declare namespace jimp {
|
||||
}>): JimpImage;
|
||||
|
||||
convolution(matrix: number[][]): JimpImage;
|
||||
scan(x: number, y: number, width: number, height: number, callback?: (this: JimpImage, x?: number, y?: number, idx?: number) => void): JimpImage;
|
||||
scan(x: number, y: number, width: number, height: number, callback?: (this: JimpImage, x: number, y: number, idx: number) => void): JimpImage;
|
||||
|
||||
/* Low level data */
|
||||
bitmap: {data: Buffer, readonly width: number, readonly height: number};
|
||||
|
||||
Loading…
Reference in New Issue
Block a user