-
-
Notifications
You must be signed in to change notification settings - Fork 33.6k
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
$once does accept an array of events as the first parameter, but the vue.d.ts doesn't #8983
Comments
ant1m4tt3r
pushed a commit
to ant1m4tt3r/vue
that referenced
this issue
Oct 26, 2018
…should accept an event or array Fixing $once type declaration on vue.d.ts file. $once should accept an event or array of events as first paramete fix vuejs#8983
13 tasks
yyx990803
pushed a commit
that referenced
this issue
Dec 1, 2018
vm.$once should accept an event or array of events as first parameter. fix #8983
f2009
pushed a commit
to f2009/vue
that referenced
this issue
Jan 25, 2019
vm.$once should accept an event or array of events as first parameter. fix vuejs#8983
aJean
pushed a commit
to aJean/vue
that referenced
this issue
Aug 19, 2020
vm.$once should accept an event or array of events as first parameter. fix vuejs#8983
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Version
2.5.17
Reproduction link
https://github.com/vuejs/vue/blob/dev/types/vue.d.ts#L56
Steps to reproduce
edit the code in an editor
What is expected?
the editor prompt correctly
What is actually happening?
there is a warning:Argument type string[] is not assignable to parameter type string
The text was updated successfully, but these errors were encountered: