npm.io
1.0.3 • Published 2 years ago

@types/gulp-change

Licence
MIT
Version
1.0.3
Deps
1
Size
3 kB
Vulns
0
Weekly
0
Stars
51.4K

Installation

npm install --save @types/gulp-change

Summary

This package contains type definitions for gulp-change (https://github.com/PoliteJS/gulp-change).

Details

Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/gulp-change.

index.d.ts

import * as eventStream from "event-stream";

export = GulpChange;

declare function GulpChange(transformer: GulpChange.ChangeFunction): eventStream.MapStream;

declare namespace GulpChange {
    type Callback = (err: any, content: string) => any;

    // eslint-disable-next-line @typescript-eslint/no-invalid-void-type
    type ChangeFunction = (content: string, callback: Callback) => string | void;
}

Additional Details

Credits

These definitions were written by Aankhen.