Remove @ts-expect-error
assigned from required
& requiredAsync
function overloads
#939
Labels
fix
A smaller enhancement or bug fix
The code related to the
required
andrequiredAsync
function overloads generates a type error with a vague message:This overload signature is not compatible with its implementation signature.
The source code looks correct, and after a few experiments, I was unable to figure out the issue associated with the type error. The type error might be unnecessary and incorrect, but I am not sure. The purpose of this GitHub issue is to work together and figure out the root cause of the type error. The relevant source code can be found here.The text was updated successfully, but these errors were encountered: