Skip to content

Commit

Permalink
Fix TypeScript type for the expandDirectories option (#138)
Browse files Browse the repository at this point in the history
  • Loading branch information
teppeis authored and sindresorhus committed Jan 6, 2020
1 parent 51611f5 commit c61561a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ import {Options as FastGlobOptions} from 'fast-glob';
declare namespace globby {
type ExpandDirectoriesOption =
| boolean
| ReadonlyArray<string>
| {files: readonly string[]; extensions: readonly string[]};
| readonly string[]
| {files?: readonly string[]; extensions?: readonly string[]};

interface GlobbyOptions extends FastGlobOptions {
/**
Expand Down

0 comments on commit c61561a

Please sign in to comment.