Skip to content

Commit

Permalink
fix(type): fix error type of snackbar
Browse files Browse the repository at this point in the history
  • Loading branch information
BeADre committed May 17, 2021
1 parent 93420c1 commit 430e382
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/varlet-ui/src/snackbar/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ interface UniqSnackbarOptions {
}

interface Snackbar {
(options: SnackbarOptions): SnackbarHandel
(options: SnackbarOptions | string): SnackbarHandel

install(app: App): void

Expand Down

0 comments on commit 430e382

Please sign in to comment.