Add a specific return type / type constraint to Keyfunc
and SignedString
#337
Labels
next
The next iteration of development, currently `v6`
Keyfunc
and SignedString
#337
Currently,
Keyfunc
expects to return aninterface{}
andSignedString
expects ainterface{}
parameter. This often lead to confusing, what exactly these functions expect. We should therefore constrain the types of these functions. A possible solution could look like this:The text was updated successfully, but these errors were encountered: