We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
v5.9.0
http://nofreakingway.com
const cms: Plugin = (context, inject) => { console.log((context.app.$axios as AxiosStatic).create()); };
$axios in this instance uses the interface NuxtAxiosInstance which does not include the create method.
$axios should be an extended instance of AxiosStatic not AxiosInstance
$axios is an instance of AxiosInstance
The text was updated successfully, but these errors were encountered:
AxiosStatic
Should be fixed with v5.9.3 .
Sorry, something went wrong.
@pi0 Still not fixed in current 5.9.5 release. The "create" method is missing in your typings but it is documented
No branches or pull requests
Version
v5.9.0
Reproduction link
http://nofreakingway.com
Steps to reproduce
const cms: Plugin = (context, inject) => {
console.log((context.app.$axios as AxiosStatic).create());
};
$axios in this instance uses the interface NuxtAxiosInstance which does not include the create method.
What is expected ?
$axios should be an extended instance of AxiosStatic not AxiosInstance
What is actually happening?
$axios is an instance of AxiosInstance
The text was updated successfully, but these errors were encountered: