vue-plugin-load-script icon indicating copy to clipboard operation
vue-plugin-load-script copied to clipboard

v1.3.2 typescript definition not compatible with Vue 2.6

Open pancake-boy opened this issue 3 years ago • 0 comments

TS2769: No overload matches this call. Overload 1 of 2, '(plugin: PluginObject<unknown> | PluginFunction<unknown>, options?: unknown): VueConstructor<Vue>', gave the following error. Argument of type 'typeof import("/Users/test/node_modules/vue-plugin-load-script/index")' is not assignable to parameter of type 'PluginObject<unknown> | PluginFunction<unknown>'. Overload 2 of 2, '(plugin: PluginObject<any> | PluginFunction<any>, ...options: any[]): VueConstructor<Vue>', gave the following error. Argument of type 'typeof import("/Users/test/node_modules/vue-plugin-load-script/index")' is not assignable to parameter of type 'PluginObject<any> | PluginFunction<any>'.

pancake-boy avatar Jul 20 '22 08:07 pancake-boy