import { TransformOption } from '../types' ; import { setMetadata } from '../lib/metadata' ; export interface ProgressiveOptions { progressive : '' | 'true' ; } export const getProgressive = ( { progressive } , image ) => { if ( progressive !== '' && progressive !== 'true' ) return ; setMetadata ( image , 'progressive' , true ) ; return true ; } ;