@types/imagemin-upng
TypeScript icon, indicating that this package has built-in type declarations

3.0.3 • Public • Published

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.

Readme

Keywords

none

Package Sidebar

Install

npm i @types/imagemin-upng

Weekly Downloads

1

Version

3.0.3

License

MIT

Unpacked Size

3.44 kB

Total Files

5

Last publish

Collaborators

  • types