team-up-develop / teamup-develop-front

チームアップのフロントエンド
2 stars 0 forks source link

axios response の型付け #282

Open Kazuya-Sakamoto opened 2 years ago

Kazuya-Sakamoto commented 2 years ago

概要

■ as is https://github.com/team-up-develop/teamup-develop-front/blob/adc6bad6da4f85cfcc11eb8281dbd3d548ed5ab2/src/components/Organisms/Jobs/JobCreateSkillCard.vue#L88

https://github.com/team-up-develop/teamup-develop-front/blob/cd5986d9e6cc3afa8d4e390f14246816287f0187/src/types/index.d.ts#L10-L14 https://zenn.dev/mkt_engr/articles/axios-req-res-typescript

■ to be 以下の記事を参考に axios で定義されている型を使用する https://zenn.dev/mkt_engr/articles/axios-req-res-typescript