Installation
npm install --save @types/imagemin-upng
Summary
This package contains type definitions for imagemin-upng (https://github.com/fisker/imagemin-upng#readme).
Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/imagemin-upng.
index.d.ts
import { Plugin } from "imagemin";
/**
* upng imagemin plugin
*/
declare function process(options?: process.Options): Plugin;
declare namespace process {
interface Options {
/**
* number of colors in the result (0 = lossless, 256 = lossy).
* @default 256
*/
cnum?: number | undefined;
}
}
export default process;
Additional Details
- Last updated: Tue, 07 Nov 2023 03:09:37 GMT
- Dependencies: @types/imagemin
Credits
These definitions were written by Piotr Błażejewicz.