Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixes type definition on watch and Watcher constructor. #3074

Merged
merged 1 commit into from Aug 22, 2019
Merged

Fixes type definition on watch and Watcher constructor. #3074

merged 1 commit into from Aug 22, 2019

Commits on Aug 22, 2019

  1. Fixes type definition on watch and Watcher constructor.

    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.
    MicahZoltu committed Aug 22, 2019
    Copy the full SHA
    a9314d5 View commit details
    Browse the repository at this point in the history