-
Notifications
You must be signed in to change notification settings - Fork 110
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Function overloading is is wrong order #241
Comments
Hi @captain-yossarian thanks for opening this issue and including a screenshot from VSCode. 🏅 Thankfully the Thanks that was a good morning read; I learned how Typescript handles overloading: 🙂 |
Fixed by #242. Published to NPM: |
FYI: https://github.com/dwyl/aws-sdk-mock/invitations |
@nelsonic thanks a lot! |
According to TS docs less specific overload should be at the end.
Please see this file
Problem is in
mock
function.Third argument should be infered as a function but instead it has been infered to
any
The text was updated successfully, but these errors were encountered: