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

Replace AxiosPromise to Promise #162

merged 1 commit into from Sep 21, 2018


None yet
2 participants

sinoru commented Sep 18, 2018

This will fixes #161.

Before of this commit, Type Definitions define $methods (i.e: $post, $get) returns AxiosPromise (which is Promise<AxiosResponse>), But actually in code it returns data(T), not AxiosResponse.
So I make changes AxiosPromise to Promise, Which just resolved as data(T).

@sinoru sinoru referenced this pull request Sep 18, 2018


Typescript definitions #143

@pi0 pi0 merged commit 5fd9214 into nuxt-community:master Sep 21, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment