Skip to content

Commit

Permalink
Add FlashMessage TS definition (#405)
Browse files Browse the repository at this point in the history
  • Loading branch information
charlesfries authored Feb 29, 2024
1 parent 5655f48 commit eb62f72
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions ember-cli-flash/declarations/components/flash-message.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
declare module 'ember-cli-flash/components/flash-message' {
import Component from '@glimmer/component';
import FlashObject from 'ember-cli-flash/flash/object';

export default class FlashMessage extends Component<{
Args: {
flash: FlashObject;
messageStyle?: 'bootstrap' | 'foundation';
messageStylePrefix?: string;
};
Blocks: {
default: [FlashMessage, FlashObject, () => void];
};
Element: HTMLDivElement;
}> {}
}

0 comments on commit eb62f72

Please sign in to comment.