This repository has been archived on 2026-05-03. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
novarix-networks-homepage/node_modules/next/dist/shared/lib/find-closest-quality.d.ts
T
Kismet Hasanaj 34dc9aec52 .
2026-05-02 20:07:02 +02:00

9 lines
442 B
TypeScript

import type { NextConfig } from '../../server/config-shared';
/**
* Find the closest matching `quality` in the list of `config.qualities`
* @param quality the quality prop passed to the image component
* @param config the "images" configuration from next.config.js
* @returns the closest matching quality value
*/
export declare function findClosestQuality(quality: number | undefined, config: NextConfig['images'] | undefined): number;