Skip to content
This repository was archived by the owner on Sep 17, 2022. It is now read-only.

Commit 78e3fd9

Browse files
fix: revert type definition to use install as init method does not exist on Vue.Plugin definition (#991)
1 parent b93019c commit 78e3fd9

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

honeybadger-vue.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ declare module '@vue/runtime-core' {
1212
}
1313

1414
declare var HoneybadgerVue: {
15-
init(app: App, options?: Partial<BrowserConfig>): void
15+
install(app: App, options?: Partial<BrowserConfig>): void
1616
}
1717

1818
export default HoneybadgerVue

honeybadger-vue.test-d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ const config = {
1111
}
1212

1313
const app = createApp({})
14-
HoneybadgerVue.init(app, config)
14+
HoneybadgerVue.install(app, config)
1515

1616
app.$honeybadger.setContext({
1717
foo: 'bar'

0 commit comments

Comments
 (0)