@bitpatty/imgproxy-url-builder
Version:
A TypeScript helper library for building imgproxy URLs
16 lines (15 loc) • 496 B
TypeScript
/**
* The min width of the resulting image
*/
type MinWidthOptions = number;
/**
* Defines the minimum width of the resulting image.
*
* See https://github.com/imgproxy/imgproxy/blob/6f292443eafb2e39f9252175b61faa6b38105a7c/docs/generating_the_url.md#min-width for the imgproxy documentation
*
* @param width The minimum width
* @returns The min width param string
*/
declare const minWidth: (width: MinWidthOptions) => string;
export default minWidth;
export { MinWidthOptions };