You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
there is a warning:Argument type string[] is not assignable to parameter type string
The text was updated successfully, but these errors were encountered:
yikuo123
changed the title
$once does accept an array of events as the first parameters, but the vue.d.ts doesn't
$once does accept an array of events as the first parameter, but the vue.d.ts doesn't
Oct 24, 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
fixvuejs#8983
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: