Skip to content

Commit cc5e9cc

Browse files
authored
Merge pull request #383 from josh-hemphill/named-export-async
Make async available in named export
2 parents b76c850 + 63b666a commit cc5e9cc

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/index.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,8 @@ namespace FastGlob {
3232
export type Pattern = PatternInternal;
3333
export type FileSystemAdapter = FileSystemAdapterInternal;
3434

35+
export const async = FastGlob;
36+
3537
export function sync(source: PatternInternal | PatternInternal[], options: OptionsInternal & EntryObjectPredicate): EntryInternal[];
3638
export function sync(source: PatternInternal | PatternInternal[], options?: OptionsInternal): string[];
3739
export function sync(source: PatternInternal | PatternInternal[], options?: OptionsInternal): EntryItem[] {

0 commit comments

Comments
 (0)