You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
error TS2339: Property 'password' does not exist on type 'UpdateQuery<UserDocument>'.
Property 'password' does not exist on type 'UpdateWithAggregationPipeline'.
65 if (data.password) {
vkarpov15
added
typescript
Types or Types-test related issue / Pull Request
and removed
needs clarification
This issue doesn't have enough information to be actionable. Close after 14 days of inactivity
labels
May 4, 2021
Do you want to request a feature or report a bug?
Bug
What is the current behavior?
Use FilterQuery Type to modify document property.
Errors.
Property 'password' does not exist on type 'UpdateQuery
Property 'password' does not exist on type 'UpdateWithAggregationPipeline'.
tsconfig.json
What is the expected behavior?
I can modify exist UserDocument property.
Node.js: v14.16.0
mongoose: v5.12.5 and v5.12.6 (After 5.12.5 error occurs, after this commit) 61d24d4#commitcomment-50023157
The text was updated successfully, but these errors were encountered: