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

5.2.4 • Public • Published

Installation

npm install --save @types/imagemin-optipng

Summary

This package contains type definitions for imagemin-optipng (https://github.com/imagemin/imagemin-optipng#readme).

Details

Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/imagemin-optipng.

index.d.ts

import { Plugin } from "imagemin";

declare function imageminOptipng(options?: imageminOptipng.Options): Plugin;

declare namespace imageminOptipng {
    interface Options {
        bitDepthReduction?: boolean | undefined;
        colorTypeReduction?: boolean | undefined;
        optimizationLevel?: number | undefined;
        paletteReduction?: boolean | undefined;
    }
}

export = imageminOptipng;

Additional Details

  • Last updated: Tue, 07 Nov 2023 03:09:37 GMT
  • Dependencies: @types/imagemin

Credits

These definitions were written by Romain Faust.

Readme

Keywords

none

Package Sidebar

Install

npm i @types/imagemin-optipng

Weekly Downloads

239,597

Version

5.2.4

License

MIT

Unpacked Size

3.52 kB

Total Files

5

Last publish

Collaborators

  • types