Installation
npm install --save @types/globjoin
Summary
This package contains type definitions for globjoin (https://github.com/amobiz/globjoin).
Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/globjoin.
index.d.ts
/**
* Joins paths and globs.
*
* Like Node's {@link https://nodejs.org/api/path.html#path_path_join_path1_path2 path.join()}
* that join all arguments together and normalize the resulting path,
* globjoin takes arbitrary number of paths and/or arrays of paths,
* join them together and take care of negative globs.
*
* @param globs
*
* @return the result glob, or array of globs if any of the paths/globs are array.
*/
declare function globjoin(...globs: string[]): string;
declare function globjoin(...globs: Array<string | string[]>): string[];
export = globjoin;
Additional Details
- Last updated: Tue, 07 Nov 2023 03:09:37 GMT
- Dependencies: none
Credits
These definitions were written by Gareth Jones.