From 030627961ffdb25ca32b704caf05e3466a027fe4 Mon Sep 17 00:00:00 2001 From: Dan Skinner Date: Tue, 21 Apr 2020 06:12:22 -0700 Subject: [PATCH 1/2] fix(plugin-vue): fix type definition --- packages/plugin-vue/types/bugsnag-plugin-vue.d.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 From e937b29b040547fe25763095c3e7b7ed5b3b1f52 Mon Sep 17 00:00:00 2001 From: Dan Skinner Date: Tue, 21 Apr 2020 06:14:45 -0700 Subject: [PATCH 2/2] chore: update changelog --- CHANGELOG.md | 1 + 1 file changed, 1 insertion(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 2f34a671f2..b3891537c2 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) ## 7.0.0 (2020-04-14)