Skip to content

Commit

Permalink
Allow arbitrary properties in MessageOptions interface (#384)
Browse files Browse the repository at this point in the history
  • Loading branch information
charlesfries committed Jun 16, 2022
1 parent 0f4c0ac commit 6e8ec3d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ declare module 'ember-cli-flash/services/flash-messages' {
extendedTimeout: number;
destroyOnClick: boolean;
onDestroy: () => void;
[key: string]: unknown;
}

export interface CustomMessageInfo extends Partial<MessageOptions> {
Expand Down

0 comments on commit 6e8ec3d

Please sign in to comment.