3.0.3 • Published 6 months ago
@types/imagemin-upng v3.0.3
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
// Type definitions for imagemin-upng 3.0
// Project: https://github.com/fisker/imagemin-upng#readme
// Definitions by: Piotr Błażejewicz <https://github.com/peterblazejewicz>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
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: Thu, 05 Aug 2021 19:01:24 GMT
- Dependencies: @types/imagemin
- Global values: none
Credits
These definitions were written by Piotr Błażejewicz.