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

Vetur throwing error when used in method #14

Open
gutisalex opened this issue Mar 9, 2020 · 1 comment
Open

Vetur throwing error when used in method #14

gutisalex opened this issue Mar 9, 2020 · 1 comment

Comments

@gutisalex
Copy link

Hey,

I use your code example to copy smth into clipboard via a method. It actually works but I still get an error by Vetur...

private handleClickRow(val: any) { this.$clipboard(val); }

Error-Message:
Property '$clipboard' does not exist on type 'Table'. Vetur(2339)

I think its just a types thing... But you got typescript support added in a cpl months ago so IDK

@chelobarik
Copy link

I used (this as any).$clipboard(val);

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

No branches or pull requests

2 participants