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
1.0.0-beta.9
https://github.com/crip-home/vue-test-utils-issue
npm run test
Get defined component property
TS2339: Property 'prop1' does not exist on type 'Vue'.
If change in typings from:
export declare function mount<V extends Vue, Ctor extends VueClass<V> = VueClass<V>> (component: Ctor, options?: MountOptions<V>): Wrapper<V>
To:
export declare function mount<V extends Vue> (component: VueClass<V>, options?: MountOptions<V>): Wrapper<V>
Works as expected. I am new to typescript and I do not get why there is additional type in declaration.
The text was updated successfully, but these errors were encountered:
#307 added
Sorry, something went wrong.
1482c2b
No branches or pull requests
Version
1.0.0-beta.9
Reproduction link
https://github.com/crip-home/vue-test-utils-issue
Steps to reproduce
https://github.com/crip-home/vue-test-utils-issue
npm run test
What is expected?
Get defined component property
What is actually happening?
TS2339: Property 'prop1' does not exist on type 'Vue'.
If change in typings from:
To:
Works as expected. I am new to typescript and I do not get why there is additional type in declaration.
The text was updated successfully, but these errors were encountered: