4.0.5 • Published 1 month ago
@types/findup-sync v4.0.5
Installation
npm install --save @types/findup-sync
Summary
This package contains type definitions for findup-sync (https://github.com/gulpjs/findup-sync).
Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/findup-sync.
index.d.ts
// Type definitions for findup-sync 4.0
// Project: https://github.com/gulpjs/findup-sync
// Definitions by: Bart van der Schoor <https://github.com/Bartvds>
// Nathan Brown <https://github.com/ngbrown>
// BendingBender <https://github.com/BendingBender>
// Kotaro Sugawara <https://github.com/kotarella1110>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
import micromatch = require("micromatch");
export = findupSync;
/**
* Find the first file matching a given pattern in the current directory or the nearest ancestor directory.
*
* @param patternOrPatterns Glob pattern(s) or file path(s) to match against.
* @param micromatchOptions Options to pass to [micromatch](https://github.com/jonschlinkert/micromatch).
* Note that if you want to start in a different directory than the current working directory, specify a `cwd` property here.
* @returns Returns the first matching file.
*/
declare function findupSync(
patternOrPatterns: string[] | string,
micromatchOptions?: micromatch.Options,
): string | null;
Additional Details
- Last updated: Thu, 16 Dec 2021 22:31:56 GMT
- Dependencies: @types/micromatch
- Global values: none
Credits
These definitions were written by Bart van der Schoor, Nathan Brown, BendingBender, and Kotaro Sugawara.
4.0.5
1 month ago
4.0.4
6 months ago
4.0.3
7 months ago
4.0.2
2 years ago
4.0.1
3 years ago
4.0.0
3 years ago
2.0.2
5 years ago
2.0.1
5 years ago
2.0.0
5 years ago
0.3.30
5 years ago
0.3.29
8 years ago
0.3.28
8 years ago
0.3.27-alpha
8 years ago
0.3.26-alpha
8 years ago
0.3.25-alpha
8 years ago
0.3.24-alpha
8 years ago
0.3.23-alpha
8 years ago
0.3.22-alpha
8 years ago
0.3.21-alpha
8 years ago
0.3.16-alpha
8 years ago
0.3.15-alpha
8 years ago