JSPM

@types/imagemin-optipng

5.2.2
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 231553
  • Score
    100M100P100Q185579F
  • License MIT

TypeScript definitions for imagemin-optipng

Package Exports

    This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@types/imagemin-optipng) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

    Readme

    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

    // Type definitions for imagemin-optipng 5.2
    // Project: https://github.com/imagemin/imagemin-optipng#readme
    // Definitions by: Romain Faust <https://github.com/romain-faust>
    // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
    
    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, 26 Sep 2023 14:36:22 GMT
    • Dependencies: @types/imagemin
    • Global values: none

    Credits

    These definitions were written by Romain Faust.