Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Make async available in named export
  • Loading branch information
josh-hemphill committed Apr 1, 2023
commit 63b666ad1bf7a6db20cb675831579a015ae5f19e
2 changes: 2 additions & 0 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,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