mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
18 lines
572 B
TypeScript
18 lines
572 B
TypeScript
// Type definitions for gulp-svgmin 1.2
|
|
// Project: https://github.com/ben-eb/gulp-svgmin
|
|
// Definitions by: Aankhen <https://github.com/Aankhen>
|
|
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
|
// TypeScript Version: 2.2
|
|
// (required because svgo specifies 2.2)
|
|
|
|
/// <reference types="node"/>
|
|
|
|
import SVGO = require("svgo");
|
|
import { Transform } from "stream";
|
|
import * as File from "vinyl";
|
|
|
|
export = GulpSvgmin;
|
|
|
|
declare function GulpSvgmin(cb: (file: File) => SVGO.Options): Transform;
|
|
declare function GulpSvgmin(options?: SVGO.Options): Transform;
|