pitmullerIngka

Results 5 comments of pitmullerIngka

This is now possible. An example is provided in one of the original PRs for this: https://github.com/deepmap/oapi-codegen/pull/389#issuecomment-1243080859

This is now possible. An example is provided in one of the original PRs for this: https://github.com/deepmap/oapi-codegen/pull/389#issuecomment-1243080859

Yes I can confirm, that this issue is introduced in `v13.4.8-canary.10`

Sounds sound. https://github.com/ferdikoomen/openapi-typescript-codegen/blob/056b1c7b87c556b686fe1dde102e93ac5885e474/src/templates/core/CancelablePromise.hbs#L47-L61 Here in line 52 and 60 it's not resolving the intermediate value of `this.#resolve?`/`this.#reject?` correctly, because it tries to call it as function, even if it's `undefined`...

Really nice work @brunouber ! Let's hope they can fix it in due time in SWC directly, so we can skip the weird fix here.