This commit is contained in:
26
node_modules/@jimp/jpeg/index.d.ts
generated
vendored
Normal file
26
node_modules/@jimp/jpeg/index.d.ts
generated
vendored
Normal file
@@ -0,0 +1,26 @@
|
||||
import { DecoderFn, EncoderFn, ImageCallback } from '@jimp/core';
|
||||
|
||||
interface JpegClass {
|
||||
_quality: number;
|
||||
quality: (n: number, cb?: ImageCallback<this>) => this;
|
||||
}
|
||||
|
||||
interface Jpeg {
|
||||
mime: { 'image/jpeg': string[] },
|
||||
|
||||
constants: {
|
||||
MIME_JPEG: 'image/jpeg';
|
||||
}
|
||||
|
||||
encoders: {
|
||||
'image/jpeg': EncoderFn
|
||||
}
|
||||
|
||||
decoders: {
|
||||
'image/jpeg': DecoderFn
|
||||
}
|
||||
|
||||
class: JpegClass
|
||||
}
|
||||
|
||||
export default function(): Jpeg;
|
||||
Reference in New Issue
Block a user