Closed ahgilak closed 3 years ago
@ahgilak thanks for flagging this!
Would this be something that you would be willing to be a put in a pull request to fix? No worries if not! I will endeavour to find some time to take a look 😄
The issue lies upstream with https://github.com/asos-craigmorten/superdeno which has 🤞 just been fixed, should drop in my PR with an update to dependency versions!
Issue
Setup:
Callback function parameters are displaced.
Details
I want to use callback function like below but the test fails because res is undefined.
Callback described as
CallbackHandler(err: any, res: IResponse): void
in typescript autocomplete, but actually the first argument contains response value so it should beCallbackHandler(res: IResponse, err: any): void
.