Automattic / monk

The wise MongoDB API
MIT License
1.85k stars 182 forks source link

Missing typing for collection.update({},{},{multi: true}) #314

Open aquaswim opened 4 years ago

aquaswim commented 4 years ago

monk current index.d.ts does not have definition for options {multi: true} for collection.update. i think it great to have it since monk already support it.

mathieudutour commented 4 years ago

Happy to accept a PR to fix it 👍

CHN-xiaohu commented 4 years ago

The same problem with monk.id() it always reports it doesn't exist

faradaytrs commented 4 years ago

@mathieudutour could we speed it up