Skip to content

Commit

Permalink
fix: message not optional in type definitions (#342)
Browse files Browse the repository at this point in the history
  • Loading branch information
luhis authored Mar 2, 2024
1 parent 5c81448 commit 2088cc8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ export function setDefaults(options: Options): void;
export function resetDefaults(): void;

export interface Options {
message?: string | HTMLElement;
message: string | HTMLElement;
type?: ToastType;
duration?: number;
position?: ToastPosition;
Expand Down

0 comments on commit 2088cc8

Please sign in to comment.