diff --git a/CHANGELOG.md b/CHANGELOG.md index 1ff8378150..cd5675ecf3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,6 +3,7 @@ ## TBD ### Fixed +- (plugin-vue): Fix plugin type definitions [#809](https://github.com/bugsnag/bugsnag-js/pull/809) - Ensure Expo delivery logs event details correctly (instead of `undefined`) [#804](https://github.com/bugsnag/bugsnag-js/pull/804) - Ensure Expo cli inserts correct code depending on the version of the notifier [#808](https://github.com/bugsnag/bugsnag-js/pull/808) diff --git a/packages/plugin-vue/types/bugsnag-plugin-vue.d.ts b/packages/plugin-vue/types/bugsnag-plugin-vue.d.ts index 997bb584ab..8982cbfc6b 100644 --- a/packages/plugin-vue/types/bugsnag-plugin-vue.d.ts +++ b/packages/plugin-vue/types/bugsnag-plugin-vue.d.ts @@ -1,11 +1,11 @@ import { Plugin } from '@bugsnag/core' -import Vue from 'vue' +import { VueConstructor } from 'vue' // eslint-disable-next-line @typescript-eslint/no-empty-interface interface BugsnagPluginVue extends Plugin { } // eslint-disable-next-line @typescript-eslint/no-extraneous-class declare class BugsnagPluginVue { - constructor(Vue?: Vue) + constructor(Vue?: VueConstructor) } export default BugsnagPluginVue