We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
In the current version of Monk, v7.3.3 the return type of update() is UpdateWriteOpResult, I think it should be UpdateResult.
v7.3.3
update()
UpdateWriteOpResult
UpdateResult
monk/index.d.ts
Lines 335 to 339 in 027ab43
(Same with the other update() calls, perhaps?)
The text was updated successfully, but these errors were encountered:
Just got bit by this too. Can make a pull request if there isn't already one going?
Sorry, something went wrong.
@zkldi I don't think there's a PR already present. Are we confident it's all 6 update calls, or just the one I referenced above?
Haven't tested but from a cursory glance I think all of those update calls should be UpdateResult (UpdateWriteOpResult is for upserting, i think?)
No branches or pull requests
In the current version of Monk,
v7.3.3
the return type ofupdate()
isUpdateWriteOpResult
, I think it should beUpdateResult
.monk/index.d.ts
Lines 335 to 339 in 027ab43
(Same with the other
update()
calls, perhaps?)The text was updated successfully, but these errors were encountered: