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

1.0.3 • Public • Published

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

/// <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, 07 Nov 2023 03:09:37 GMT
  • Dependencies: @types/node

Credits

These definitions were written by Martin Badin.

/@types/gulp-cond/

    Package Sidebar

    Install

    npm i @types/gulp-cond

    Weekly Downloads

    46

    Version

    1.0.3

    License

    MIT

    Unpacked Size

    3.4 kB

    Total Files

    5

    Last publish

    Collaborators

    • types