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

Improve ValidateOpts type #12606

Merged
merged 2 commits into from Oct 28, 2022
Merged

Improve ValidateOpts type #12606

merged 2 commits into from Oct 28, 2022

Commits on Oct 27, 2022

  1. Add missing propsParameter property to ValidateOpts type

    As the documention mentions [it](https://mongoosejs.com/docs/api.html#schematype_SchemaType-validate), the `propsParameter` property does not exists on the `ValidateOpts<T>` type and cause TypeScript to generate an error.
    Freezystem committed Oct 27, 2022
    Configuration menu
    Copy the full SHA
    3f0fb62 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    3df419f View commit details
    Browse the repository at this point in the history