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
Try to use
vue-multiselect/documentation/partials/examples/ProgrammaticCtrl.vue
Line 48 in 8b65e2a
It works with Typescript as in the docs with Javascript.
because activate/deactivate is defined in
activate
deactivate
vue-multiselect/index.d.ts
Line 6 in ee7bf21
In this case it would be something like this:
declare class Multiselect extends Vue { activate: () => void deactivate: () => void }
You'll get an error like:
Property 'activate' does not exist on type 'Multiselect'.
because it's not defined in
Line 6 in 8b65e2a
The text was updated successfully, but these errors were encountered:
mattelen
Successfully merging a pull request may close this issue.
Steps to reproduce
Try to use
vue-multiselect/documentation/partials/examples/ProgrammaticCtrl.vue
Line 48 in 8b65e2a
Expected behaviour
It works with Typescript as in the docs with Javascript.
because
activate
/deactivate
is defined invue-multiselect/index.d.ts
Line 6 in ee7bf21
in a similar way as in another project https://github.com/bootstrap-vue/bootstrap-vue/blob/45635d1d391263192787e9e0bddc004abe115ace/src/components/modal/index.d.ts#L9-L13
In this case it would be something like this:
Actual behaviour
You'll get an error like:
because it's not defined in
vue-multiselect/index.d.ts
Line 6 in 8b65e2a
The text was updated successfully, but these errors were encountered: