Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixes type definition on watch and Watcher constructor. (#3074)
As seen on line 42, this function actually accepts either a `GenericConfigObject[]` or a `GenericConfigObject`. The documentation uses the non-array form, which results in a user following the documentation in TypeScript getting a type checker error.
- Loading branch information