[mongodb] Fix db.listCollections to use the optional parameter "filter" (#20562)
[mongodb] Fix db.listCollections to use the optional parameter "filter" (#20562)

* [mongodb] Fix db.listCollections

Fix db.listCollections to return the information of a all collections.

* [mongodb] Fix db.listCollections

Added overload function for db.listCollections

* [mongodb] Fix db.listCollections

Fix db.listCollections to return the information of a all collections.

chrootsu/DefinitelyTyped,georgemarshall/DefinitelyTyped,benliddicott/DefinitelyTyped,benishouga/DefinitelyTyped,jimthedev/DefinitelyTyped,AbraaoAlves/DefinitelyTyped,dsebastien/DefinitelyTyped,markogresak/DefinitelyTyped,jimthedev/DefinitelyTyped,georgemarshall/DefinitelyTyped,zuzusik/DefinitelyTyped,alexdresko/DefinitelyTyped,benishouga/DefinitelyTyped,AgentME/DefinitelyTyped,zuzusik/DefinitelyTyped,alexdresko/DefinitelyTyped,arusakov/DefinitelyTyped,chrootsu/DefinitelyTyped,AgentME/DefinitelyTyped,magny/DefinitelyTyped,arusakov/DefinitelyTyped,borisyankov/DefinitelyTyped,jimthedev/DefinitelyTyped,AbraaoAlves/DefinitelyTyped,rolandzwaga/DefinitelyTyped,dsebastien/DefinitelyTyped,one-pieces/DefinitelyTyped,benishouga/DefinitelyTyped,georgemarshall/DefinitelyTyped,AgentME/DefinitelyTyped,AbraaoAlves/DefinitelyTyped,magny/DefinitelyTyped,laurentiustamate94/DefinitelyTyped,aciccarello/DefinitelyTyped,AgentME/DefinitelyTyped,aciccarello/DefinitelyTyped,aciccarello/DefinitelyTyped,borisyankov/DefinitelyTyped,mcliment/DefinitelyTyped,rolandzwaga/DefinitelyTyped,georgemarshall/DefinitelyTyped,arusakov/DefinitelyTyped,zuzusik/DefinitelyTyped