There is only two functions directly under lib-node: connect and multiRepoConnect. The functions get, delete, update etc, should instead be moved into the type of RepoConnection.
Some of the RepoConnection functions have either a string or an array of strings as an argument, and depending on what is used, either an object or an array of object is returned. Could this be mirrored in the types?
A couple of things:
There is only two functions directly under lib-node:
connect
andmultiRepoConnect
. The functionsget
,delete
,update
etc, should instead be moved into the type ofRepoConnection
.Some of the
RepoConnection
functions have either a string or an array of strings as an argument, and depending on what is used, either an object or an array of object is returned. Could this be mirrored in the types?-Ø