请问一下 typescript 怎么获取api的接口

现在有已经封装好的 api接口,我想用typescript来获取 api 的数据,还有我想问一下使用 vue 来接收数据好还是用 typescript 接收好

api接口封装好了,直接调用不就可以了吗?

axios调用