Closed Purpzie closed 3 years ago
I would submit a pull request, but I'm new to Typescript and I'm not sure how to define this. Currently being forced to do this:
type GlobbyResult = { name: string, path: string, dirent: Dirent }[]; const results: GlobbyResult = await globby([/* globs */], { objectMode: true }]) as any;
Thank you in advance!
I would submit a pull request, but I'm new to Typescript and I'm not sure how to define this. Currently being forced to do this:
Thank you in advance!