From 3c51c3be85bb0d1bdb87ea0d6632f1c256912f27 Mon Sep 17 00:00:00 2001 From: Dimitri Staessens Date: Sun, 6 Oct 2019 21:37:45 +0200 Subject: build: Add some required modules for node --- node_modules/fast-glob/index.d.ts | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 node_modules/fast-glob/index.d.ts (limited to 'node_modules/fast-glob/index.d.ts') diff --git a/node_modules/fast-glob/index.d.ts b/node_modules/fast-glob/index.d.ts new file mode 100644 index 0000000..e08a6c3 --- /dev/null +++ b/node_modules/fast-glob/index.d.ts @@ -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 = IPartialOptions; + type TransformFunction = Transform; + type Task = ITask; + + interface IApi { + (patterns: Pattern | Pattern[], options?: IPartialOptions): Promise; + + async(patterns: Pattern | Pattern[], options?: IPartialOptions): Promise; + sync(patterns: Pattern | Pattern[], options?: IPartialOptions): 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; -- cgit v1.2.3