Skip to content

Commit

Permalink
Fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
Stanzilla committed Jan 26, 2024
1 parent 1e8dc86 commit 8bedfe0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/libs/gif2tga.ts
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ function calculateFileSize(
};
}

async function getMetaData(filename: string) {
async function getMetaData(filename: string | Buffer) {
return await sharp(filename, { animated: true }).metadata();
}

Expand Down

0 comments on commit 8bedfe0

Please sign in to comment.