Skip to content

Commit

Permalink
fix(types): fix snackbar option type
Browse files Browse the repository at this point in the history
  • Loading branch information
BeADre committed May 18, 2021
1 parent 34794ea commit a04588e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/varlet-ui/types/snackbar.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,8 @@ export interface SnackbarOptions {
}

export interface ISnackbar {
(options: SnackbarOptions): SnackbarHandel
(options: SnackbarOptions | string): SnackbarHandel

Component: typeof SnackbarComponent

install(app: App): void
Expand Down

0 comments on commit a04588e

Please sign in to comment.