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
Adds the possibility to get a single node returned if you pass in an
Array.
Also removes 3rd overload, because it has the same parameters
as the 4th, but is missing the case for the single node return.
Adds the possibility to get a single node returned if you pass in an
Array.
Also removes 3rd overload, because it has the same parameters
as the 4th, but is missing the case for the single node return.
Adds the possibility to get a single node returned if you pass in an
Array.
Also removes 3rd overload, because it has the same parameters
as the 4th, but is missing the case for the single node return.
(cherry picked from commit 9673444)
alansemenov
changed the title
Inacurate TypeScript type for RepoConnection.get with Arrays
Inaсcurate TypeScript type for RepoConnection.get with Arrays
Feb 27, 2023
If you pass in an
Array
of keys and theArray
is of length=1 to nodeLibsRepoConnection.get()
, the output will not be in anArray
but a single value.So the second and third overload is not typed for this possibility.
The text was updated successfully, but these errors were encountered: