feTS Client allows you to create an SDK-like client that infers types from an OpenAPI specification document.
I have worked on all The Guild's libraries and graphql-js to support ESM. Here is how you can do it too.