ajaishankar / openapi-typescript-fetch

A typed fetch client for openapi-typescript
MIT License
233 stars 54 forks source link

Typescript 5 compatibility #61

Open TheParad0X opened 1 year ago

TheParad0X commented 1 year ago

With Typescript 4.6.2 everything works as intended. When updating to Typescript 5.0.4, this error appeared for method():

Argument type "get" is not assignable to parameter type M

image

Cheers, Para