Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TypeScript支持 #2

Closed
3 tasks done
liujinxing opened this issue May 24, 2019 · 0 comments
Closed
3 tasks done

TypeScript支持 #2

liujinxing opened this issue May 24, 2019 · 0 comments
Assignees
Labels
enhancement New feature or request
Milestone

Comments

@liujinxing
Copy link
Member

liujinxing commented May 24, 2019

TypeScript支持

  • get、post、delete、put的返回类型应是Promise<T>,而不是AxiosPromise<AxiosResponse<T>>
  • 导出HttpRequestConfig,同AxiosRequestConfig
  • 导出HttpResponse,同AxiosResponse
@liujinxing liujinxing added the enhancement New feature or request label May 24, 2019
@liujinxing liujinxing added this to the 0.2.0 milestone May 24, 2019
@liujinxing liujinxing pinned this issue May 24, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants