acacode / acacode/swagger-typescript-api

Typescript error with Axios v.1.2.2

オープン
#477 コメント 7 件 リアクション 4 件 担当者 0 名 GitHub で見る
主要言語
TypeScript
スター
4.1k
フォーク
436
PR マージ指標
30日以内にマージされた PR はありません

説明

There is a typescript error with axios v.1.2.2

After using `npx swagger-typescript-api --axios -p ./swagger.json -o ./ -n myApi.ts` the following error occurs:
![image](https://user-images.githubusercontent.com/16085957/210394052-2944e66d-00f2-4f4e-a278-abca43391987.png)

After downgrading axios version to 1.2.0 the error disappears.

Tested with typescript version: 2.7.4 && 2.9.4

Thanks for reading, hope to get this issue fixed so future versions of axios will be supported.

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。