Skip to content

Commit

Permalink
Fix formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
swissspidy committed Aug 27, 2024
1 parent a01773d commit 5dcfe47
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion packages/vips/src/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,9 @@ export function supportsQuality(
* @param type Mime type.
* @return Whether the file supports animation.
*/
export function supportsAnimation( type: string ): type is 'image/webp' | 'image/gif' {
export function supportsAnimation(
type: string
): type is 'image/webp' | 'image/gif' {
return [ 'image/webp', 'image/gif' ].includes( type );
}

Expand Down

0 comments on commit 5dcfe47

Please sign in to comment.