Skip to content

Commit

Permalink
Add sync.d.ts (terkelg#54)
Browse files Browse the repository at this point in the history
  • Loading branch information
benmccann committed Nov 17, 2020
1 parent b3a6971 commit cbc19bd
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions sync.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
type Options = {
cwd?: string;
dot?: boolean;
absolute?: boolean;
filesOnly?: boolean;
flush?: boolean;
};

type FilePath = string;

declare function glob(str: string, opts?: Options): FilePath[];

export = glob;

0 comments on commit cbc19bd

Please sign in to comment.