Skip to content

Commit 783438f

Browse files
authored
Merge pull request #10 from adi518/main
Update resize.ts
2 parents 356f0d3 + 354cb5e commit 783438f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/url/lib/transformers/resize.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
export type ResizeType = 'imaggaScale' | 'imaggaCrop' | 'crop' | 'fill' | 'scale' | 'minimumPad' | 'fit' | 'pad' | 'limitFit' | 'thumbnail' | 'limitFill' | 'minimumFit' | 'limitPad' | 'fillPad'
1+
export type ResizeType = 'imaggaScale' | 'imaggaCrop' | 'crop' | 'fill' | 'scale' | 'minimumPad' | 'fit' | 'pad' | 'limitFit' | 'thumb' | 'limitFill' | 'minimumFit' | 'limitPad' | 'fillPad'
22

33
export interface Resize {
44
type?: ResizeType,
@@ -14,4 +14,4 @@ export const resize = ({ type, width, height, aspectRatio }: Resize) => {
1414
const ar = aspectRatio ? `ar_${aspectRatio}` : ''
1515

1616
return [ crop, w, h, ar ].filter(Boolean).join()
17-
}
17+
}

0 commit comments

Comments
 (0)