#1580 causes type issue in MaybeOptionalInit
#1584
Labels
bug
Something isn't working
good first issue
Straightforward problem, solvable for first-time contributors without deep knowledge of the project
openapi-fetch
Relevant to the openapi-fetch library
PRs welcome
PRs are welcome to solve this issue!
MaybeOptionalInit
now requires Paths[P] to be a complete record including everyHttpMethod
. However, routes rarely have every method. I think it should be defined asPartial<Record<HttpMethod, {}>>
instead. The same withClientMethod
:The text was updated successfully, but these errors were encountered: