-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtypes.ts
More file actions
38 lines (35 loc) · 1.24 KB
/
types.ts
File metadata and controls
38 lines (35 loc) · 1.24 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
/**
* @file Public type surface for `globs/*` modules — the `Pattern` alias, the
* `FastGlobOptions` mirror of fast-glob's option surface, and the
* `GlobOptions` extension that adds Socket-specific `recursive` /
* `ignoreOriginals` flags. Pure types, no runtime side effects.
*/
export type Pattern = string
export interface FastGlobOptions {
absolute?: boolean | undefined
baseNameMatch?: boolean | undefined
braceExpansion?: boolean | undefined
caseSensitiveMatch?: boolean | undefined
concurrency?: number | undefined
cwd?: string | undefined
deep?: number | undefined
dot?: boolean | undefined
extglob?: boolean | undefined
followSymbolicLinks?: boolean | undefined
fs?: unknown | undefined
globstar?: boolean | undefined
ignore?: string[] | undefined
ignoreFiles?: string[] | undefined
markDirectories?: boolean | undefined
objectMode?: boolean | undefined
onlyDirectories?: boolean | undefined
onlyFiles?: boolean | undefined
stats?: boolean | undefined
suppressErrors?: boolean | undefined
throwErrorOnBrokenSymbolicLink?: boolean | undefined
unique?: boolean | undefined
}
export interface GlobOptions extends FastGlobOptions {
ignoreOriginals?: boolean | undefined
recursive?: boolean | undefined
}