-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtypes.ts
More file actions
39 lines (36 loc) · 990 Bytes
/
types.ts
File metadata and controls
39 lines (36 loc) · 990 Bytes
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
39
/**
* @fileoverview 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
baseNameMatch?: boolean
braceExpansion?: boolean
caseSensitiveMatch?: boolean
concurrency?: number
cwd?: string
deep?: number
dot?: boolean
extglob?: boolean
followSymbolicLinks?: boolean
fs?: unknown
globstar?: boolean
ignore?: string[]
ignoreFiles?: string[]
markDirectories?: boolean
objectMode?: boolean
onlyDirectories?: boolean
onlyFiles?: boolean
stats?: boolean
suppressErrors?: boolean
throwErrorOnBrokenSymbolicLink?: boolean
unique?: boolean
}
export interface GlobOptions extends FastGlobOptions {
ignoreOriginals?: boolean
recursive?: boolean
}