Skip to content

Commit

Permalink
fix: add 'avif' format
Browse files Browse the repository at this point in the history
  • Loading branch information
azu committed Oct 22, 2023
1 parent ab8a032 commit 9131638
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/image-type.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@ const supportedImageTypes = [
"jpx",
"heic",
"cur",
"dcm"
"dcm",
"avif"
];
export type SupportedImageTypes = (typeof supportedImageTypes)[number];
const imageExts = new Set(supportedImageTypes);
Expand Down

0 comments on commit 9131638

Please sign in to comment.