DEV Community

loading...

Discussion on: Integrating APIs to a TypeScript frontend with OpenAPI/Swagger

Collapse
menci profile image
Menci

It generates import XXX = require("XXX") which is NOT supported by create-react-app.

Collapse
wkrueger profile image
Willian Krueger Author

set moduleStyle = 'esm' option