UNPKG

@types/vinyl-paths

Version:
43 lines (32 loc) 1.26 kB
# 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](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/vinyl-paths/index.d.ts) ````ts /// <reference types="node" /> export interface Paths extends NodeJS.ReadWriteStream { paths: string[]; } export 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; } export interface Callback { (path: string): any; } declare const paths: PathsStatic; export default paths; ```` ### Additional Details * Last updated: Wed, 13 Nov 2024 19:32:34 GMT * Dependencies: [@types/node](https://npmjs.com/package/@types/node) # Credits These definitions were written by [Qubo](https://github.com/tkQubo).