标签: typescript promise axios
export class TransService { async getBindList (): Promise<{}[]> { const result: Array<{}> = await trans.post('/url') return result } }
错误信息: TS2322:输入'AxiosResponse&lt;一个&gt;'不能指定为“{} []'
image