mirror of
https://github.com/iib0011/omni-tools.git
synced 2025-11-11 02:29:54 +05:30
chore: jimp types
This commit is contained in:
parent
c252ed3d20
commit
eddb7ac542
3 changed files with 16 additions and 21 deletions
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>;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue