diff --git a/packages/buefy-next/src/types/components.d.ts b/packages/buefy-next/src/types/components.d.ts index 39c415558..540a507ec 100644 --- a/packages/buefy-next/src/types/components.d.ts +++ b/packages/buefy-next/src/types/components.d.ts @@ -1,4 +1,4 @@ -import _Vue from "vue"; +import _Vue, { Component } from "vue"; import {ColorModifiers, DaysOfWeek, GlobalPositions, SizesModifiers} from "./helpers"; // Component base definition @@ -10,7 +10,7 @@ export class BComponent extends _Vue { export declare type BuefyConfig = { defaultContainerElement?: string, defaultIconPack?: string; - defaultIconComponent?: string; + defaultIconComponent?: Component; defaultIconPrev?: string; defaultIconNext?: string; defaultLocale?: undefined | string | string[], diff --git a/packages/buefy-next/src/types/index.d.ts b/packages/buefy-next/src/types/index.d.ts index 88f6965aa..ed54d4286 100644 --- a/packages/buefy-next/src/types/index.d.ts +++ b/packages/buefy-next/src/types/index.d.ts @@ -23,12 +23,11 @@ export declare type BuefyNamespace = { modal: typeof ModalProgrammatic, snackbar: typeof SnackbarProgrammatic, toast: typeof ToastProgrammatic, - notification: typeof NotificationProgrammatic - + notification: typeof NotificationProgrammatic, } declare const _default: { - install(Vue: typeof _Vue, config: BuefyConfig): void; + install(Vue: _Vue, config: BuefyConfig): void; }; export {