Describe the bug
Environment: Project for next-js with "typescript": "^4.9.4", template for client axios
When I'm trying to call any request, I receive error on line 54 of CancelablePromise.ts file:
The error is:
(intermediate value)(intermediate value)(intermediate value) is not a function
The fun fact: If I change code to non-null calling like that:
The error is disappearing.
Also, I've noticed that in current repository/master branch code of this place is changed to another type of null-checking:
, but in last released version it is still as in my problem