incorrect type of function parameters
Closed this issue ยท 4 comments
RahulGautamSingh commented
In the file lib/specifier.d.ts
The functions maxSatisfyingVesrion
and minSatisfyingVersion
, the parameter version
have type string
which needs to be of type string[]
and renamed to versions
.
viceice commented
There is another issue. The options
parameter isn't Pep440Version
type.
RahulGautamSingh commented
There is another issue. The
options
parameter isn'tPep440Version
type.
It is used as an object with the property prereleases
in it. And then it is merged in an object which is of type pep440Version
. Unable to figure out a specific type with this much information.๐ Any suggestions?
viceice commented