-
Notifications
You must be signed in to change notification settings - Fork 38
Open
Description
This PR added native types which is much appreciated.
Sadly though, these types don't cover cases where specific functions need to be configured for the plugin. So the following results in Typescript compilation issues:
someSchema(mongooseAutoPopulate, { functions: ['findOne'] })

Package versions
- mongoose: 7.2.0
- mongoose-autopopulate: 1.0.1
- typescript: 5.0.4
Happy to throw a PR together so solve this issue - just want to find out if this is a me-only problem.
Metadata
Metadata
Assignees
Labels
No labels