Skip to content

Commit

Permalink
Merge pull request #383 from josh-hemphill/named-export-async
Browse files Browse the repository at this point in the history
Make async available in named export
  • Loading branch information
mrmlnc committed May 14, 2023
2 parents b76c850 + 63b666a commit cc5e9cc
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,8 @@ namespace FastGlob {
export type Pattern = PatternInternal;
export type FileSystemAdapter = FileSystemAdapterInternal;

export const async = FastGlob;

export function sync(source: PatternInternal | PatternInternal[], options: OptionsInternal & EntryObjectPredicate): EntryInternal[];
export function sync(source: PatternInternal | PatternInternal[], options?: OptionsInternal): string[];
export function sync(source: PatternInternal | PatternInternal[], options?: OptionsInternal): EntryItem[] {
Expand Down

0 comments on commit cc5e9cc

Please sign in to comment.