The directoryFilter option seems to accept the same parameters as the fileFilter option.
In the README.md file, we can read: directoryFilter: ['!.git'], that is an array of strings.
But the TypeScript typings only allow: (entry: EntryInfo) => boolean.
It should probably be: string | string[] | ((entry: EntryInfo) => boolean)
The
directoryFilter
option seems to accept the same parameters as thefileFilter
option.In the
README.md
file, we can read:directoryFilter: ['!.git']
, that is an array of strings. But the TypeScript typings only allow:(entry: EntryInfo) => boolean
.It should probably be:
string | string[] | ((entry: EntryInfo) => boolean)