1.0.3 • Published 6 months ago
@types/gulp-cond v1.0.3
Installation
npm install --save @types/gulp-cond
Summary
This package contains type definitions for gulp-cond (https://github.com/nfroidure/gulp-cond).
Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/gulp-cond.
index.d.ts
// Type definitions for gulp-cond 1.0
// Project: https://github.com/nfroidure/gulp-cond
// Definitions by: Martin Badin <https://github.com/martin-badin>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
/// <reference types="node" />
interface GulpCond {
(condition: GulpCond.Condition, expr1: GulpCond.Expresion, expr2?: GulpCond.Expresion): NodeJS.ReadWriteStream;
}
declare namespace GulpCond {
type Expresion = NodeJS.ReadWriteStream | (() => NodeJS.ReadWriteStream);
type Condition = boolean | (() => boolean);
}
declare const gulpCond: GulpCond;
export = gulpCond;
Additional Details
- Last updated: Tue, 22 Feb 2022 21:31:46 GMT
- Dependencies: @types/node
- Global values: none
Credits
These definitions were written by Martin Badin.