Skip to content

Commit

Permalink
feat: make format resettable (#63)
Browse files Browse the repository at this point in the history
  • Loading branch information
selbekk authored Oct 31, 2024
1 parent f6e0941 commit 69ea8f8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/builder.ts
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ export class ImageUrlBuilder {
}

// Specify the image format of the image. 'jpg', 'pjpg', 'png', 'webp'
format(format: ImageFormat) {
format(format?: ImageFormat) {
return this.withOptions({format})
}

Expand Down

0 comments on commit 69ea8f8

Please sign in to comment.