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

0.0.35 • Public • Published

Installation

npm install --save @types/vinyl-paths

Summary

This package contains type definitions for vinyl-paths (https://github.com/sindresorhus/vinyl-paths).

Details

Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/vinyl-paths.

index.d.ts

/// <reference types="node" />

declare namespace paths {
    interface Paths extends NodeJS.ReadWriteStream {
        paths: string[];
    }

    interface PathsStatic {
        /**
         * Use the file paths from a gulp pipeline in vanilla node module
         * @param callback The optionally supplied callback will get a file path for every file and is expected
         * to call the callback when done. An array of the file paths so far is available as a paths property
         * on the stream.
         */
        (callback?: Callback): Paths;
    }

    interface Callback {
        (path: string): any;
    }
}

declare var paths: paths.PathsStatic;
export = paths;

Additional Details

  • Last updated: Tue, 07 Nov 2023 15:11:36 GMT
  • Dependencies: @types/node

Credits

These definitions were written by Qubo.

Readme

Keywords

none

Package Sidebar

Install

npm i @types/vinyl-paths

Weekly Downloads

1,052

Version

0.0.35

License

MIT

Unpacked Size

3.97 kB

Total Files

5

Last publish

Collaborators

  • types