mirror of
https://github.com/iib0011/omni-tools.git
synced 2025-11-19 03:24:02 +01:00
chore: jimp types
This commit is contained in:
7
src/typed/jimp.d.ts
vendored
Normal file
7
src/typed/jimp.d.ts
vendored
Normal file
@@ -0,0 +1,7 @@
|
||||
declare module 'jimp' {
|
||||
class JimpImage {
|
||||
getPixelColor: (x: number, y: number) => number;
|
||||
}
|
||||
|
||||
export function read(buffer: Buffer): Promise<JimpImage>;
|
||||
}
|
||||
Reference in New Issue
Block a user