openapistack / openapi-client-axios

JavaScript client library for consuming OpenAPI-enabled APIs with axios
https://openapistack.co
MIT License
550 stars 67 forks source link

For older versions of node (ex 12.16.0) there is a problem with the typescript #134

Closed vladimirnitu closed 1 year ago

vladimirnitu commented 1 year ago

node_modules/@apidevtools/json-schema-ref-parser/lib/index.d.ts:3:1 3 export = $RefParser;


    This module is declared with using 'export =', and can only be used with a default import when using the 'esModuleInterop' flag.

Could you please update the tsconfig.json with  "allowSyntheticDefaultImports": true

Thank you