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

Most obvious of TypeScript definitions for app.use(Buefy) #299

Open
wants to merge 1 commit into
base: dev
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions packages/buefy-next/src/types/components.d.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import _Vue from "vue";
import _Vue, { Component } from "vue";
import {ColorModifiers, DaysOfWeek, GlobalPositions, SizesModifiers} from "./helpers";

// Component base definition
Expand All @@ -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[],
Expand Down
5 changes: 2 additions & 3 deletions packages/buefy-next/src/types/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
Loading