Skip to content
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

0.1.13 Typescript issue #17

Open
kpturner opened this issue Jun 19, 2020 · 1 comment
Open

0.1.13 Typescript issue #17

kpturner opened this issue Jun 19, 2020 · 1 comment
Labels
bug Something isn't working help wanted Extra attention is needed

Comments

@kpturner
Copy link

Using Vue 2.6.3

import browserDetect from 'vue-browser-detect-plugin';
Vue.use( browserDetect );

Results in

No overload matches this call.
  Overload 1 of 2, '(plugin: PluginFunction<never> | PluginObject<never>, options?: never): VueConstructor<Vue>', gave the following error.
    Argument of type 'PluginFunction<never>' is not assignable to parameter of type 'PluginFunction<never> | PluginObject<never>'.
      Type 'import("/home/foo/systems/common/apps/ui/node_modules/vue-browser-detect-plugin/node_modules/vue/types/plugin").PluginFunction<never>' is not assignable to type 'Vue.PluginFunction<never>'.
        Types of parameters 'Vue' and 'Vue' are incompatible.
          Type 'Vue.VueConstructor<import("/home/foo/systems/common/apps/ui/node_modules/vue/types/vue").Vue>' is not assignable to type 'import("/home/foo/systems/common/apps/ui/node_modules/vue-browser-detect-plugin/node_modules/vue/types/vue").VueConstructor<import("/home/foo/systems/common/apps/ui/node_modules/vue-browser-detect-plugin/node_modules/vue/types/vue").Vue>'.
@cschweda cschweda added bug Something isn't working help wanted Extra attention is needed labels Jun 19, 2020
@VanIseghemThomas
Copy link

Same problem, any updates on this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

3 participants