flow like the river
This commit is contained in:
commit
013fe673f3
42435 changed files with 5764238 additions and 0 deletions
24
BACK_BACK/node_modules/fast-glob/index.d.ts
generated
vendored
Executable file
24
BACK_BACK/node_modules/fast-glob/index.d.ts
generated
vendored
Executable file
|
|
@ -0,0 +1,24 @@
|
|||
import { TransformFunction as Transform, IPartialOptions } from './out/managers/options';
|
||||
import { ITask } from './out/managers/tasks';
|
||||
import { Entry, EntryItem } from './out/types/entries';
|
||||
import { Pattern } from './out/types/patterns';
|
||||
|
||||
declare namespace FastGlob {
|
||||
type Options<T = EntryItem> = IPartialOptions<T>;
|
||||
type TransformFunction<T> = Transform<T>;
|
||||
type Task = ITask;
|
||||
|
||||
interface IApi {
|
||||
<T = EntryItem>(patterns: Pattern | Pattern[], options?: IPartialOptions<T>): Promise<T[]>;
|
||||
|
||||
async<T = EntryItem>(patterns: Pattern | Pattern[], options?: IPartialOptions<T>): Promise<T[]>;
|
||||
sync<T = EntryItem>(patterns: Pattern | Pattern[], options?: IPartialOptions<T>): T[];
|
||||
stream(patterns: Pattern | Pattern[], options?: IPartialOptions): NodeJS.ReadableStream;
|
||||
generateTasks(patterns: Pattern | Pattern[], options?: IPartialOptions): Task[];
|
||||
}
|
||||
}
|
||||
|
||||
declare const FastGlob: FastGlob.IApi;
|
||||
|
||||
export = FastGlob;
|
||||
export as namespace FastGlob;
|
||||
Loading…
Add table
Add a link
Reference in a new issue