Nimoy Prospers Mystically

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

    10.0.1 • Public • Published

    Installation

    npm install --save @types/imagemin-svgo

    Summary

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

    Details

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

    index.d.ts

    // Type definitions for imagemin-svgo 10.0
    // Project: https://github.com/imagemin/imagemin-svgo#readme
    // Definitions by: Romain Faust <https://github.com/romain-faust>
    //                 Piotr Błażejewicz <https://github.com/peterblazejewicz>
    // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
    
    import { Plugin } from 'imagemin';
    import { OptimizeOptions as SvgoOptions } from 'svgo';
    
    /**
     * SVGO imagemin plugin
     */
    declare function imageminSvgo(options?: Options): Plugin;
    
    export type Options = SvgoOptions & {
        /**
         * Pass over SVGs multiple times to ensure all optimizations are applied
         * @default true
         */
        multipass?: boolean | undefined;
    };
    
    export default imageminSvgo;

    Additional Details

    Credits

    These definitions were written by Romain Faust, and Piotr Błażejewicz.

    Keywords

    none

    Install

    npm i @types/imagemin-svgo

    Version

    10.0.1

    License

    MIT

    Unpacked Size

    4.46 kB

    Total Files

    4

    Last publish

    Collaborators

    • types