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

new Vue cannot infer mixin types #12730

Closed
gulewei opened this issue Aug 8, 2022 · 0 comments · Fixed by #12737
Closed

new Vue cannot infer mixin types #12730

gulewei opened this issue Aug 8, 2022 · 0 comments · Fixed by #12737

Comments

@gulewei
Copy link
Contributor

gulewei commented Aug 8, 2022

Version

2.7.8

Reproduction link

codesandbox.io

Steps to reproduce

open CodeSandBox, and see line 14 in main.ts

What is expected?

type check without error.

What is actually happening?

Property 'helloThere' does not exist on type 'CombinedVueInstance<Vue<Record<string, any>, Record<string, any>, never, never, (event: string, ...args: any[]) => Vue<Record<string, any>, Record<string, any>, never, never, ...>>, ... 4 more ..., {}>'.ts(2339)

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

Successfully merging a pull request may close this issue.

2 participants