Parse image file info if available

This commit is contained in:
rijkvanzanten
2020-06-29 15:42:46 -04:00
parent 58c644093c
commit d25417c383
7 changed files with 116 additions and 8 deletions

View File

@@ -1,4 +0,0 @@
declare module 'grant' {
const grant: any;
export default grant;
}

14
src/types/shims.d.ts vendored Normal file
View File

@@ -0,0 +1,14 @@
declare module 'grant' {
const grant: any;
export default grant;
}
declare module 'icc' {
const parse: (buf: Buffer) => Record<string, string>;
export { parse };
}
declare module 'exif-reader' {
const exifReader: (buf: Buffer) => Record<string, any>;
export default exifReader;
}