Open
Description
What problem does this feature solve?
Reproduction link
Please see: https://tinyurl.com/y5mlgqqh
Steps to reproduce
- write a plugin
- overload Vue.use ( see the given link above for detail )
What is expected?
During compiling it fails, because the types are not matching.
What is actually happening?
It compiles without errors
What does the proposed API look like?
A possible solution is to change the type in vue/types/vue VueConstructor to:
use(plugin: PluginObject<unknown> | PluginFunction<unknown>, ...options: unknown[]): VueConstructor<V>;