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.