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
Describe your issue here. according to this PR, I should be alow create local vue like this. #1670
const localVue = createLocalVue({ errorHandler })
But the type file do not allow to add a options parameter.
ues typescript and type this in your spec file.
const errorHandler = (err, vm, info) => { expect(err).toBeInstanceOf(Error); }; localVue = createLocalVue({ errorHandler });
It should no error happen.
A type error happen.
change the type to this below.
export declare function createLocalVue (options?: any): typeof Vue
The text was updated successfully, but these errors were encountered:
made a PR for this issue. #1873
Sorry, something went wrong.
No branches or pull requests
Subject of the issue
Describe your issue here.
according to this PR, I should be alow create local vue like this.
#1670
But the type file do not allow to add a options parameter.

Steps to reproduce
ues typescript and type this in your spec file.
Expected behaviour
It should no error happen.
Actual behaviour
A type error happen.
Possible Solution
change the type to this below.
The text was updated successfully, but these errors were encountered: