chore: jimp types

This commit is contained in:
Ibrahima G. Coulibaly 2024-06-28 17:14:20 +01:00
commit eddb7ac542
3 changed files with 16 additions and 21 deletions

7
src/typed/jimp.d.ts vendored Normal file
View file

@ -0,0 +1,7 @@
declare module 'jimp' {
class JimpImage {
getPixelColor: (x: number, y: number) => number;
}
export function read(buffer: Buffer): Promise<JimpImage>;
}