Open charlesfries opened 4 weeks ago
Properties from CustomMessageInfo should be available on FlashObject because they are added to the instance in the constructor. This PR adds a new intersection type called FlashObjectWithOptions that declares this.
CustomMessageInfo
FlashObject
FlashObjectWithOptions
https://github.com/adopted-ember-addons/ember-cli-flash/blob/e9d99f5156cbf4c3877c95feb884c07e136498a9/ember-cli-flash/src/flash/object.js#L28
Properties from
CustomMessageInfo
should be available onFlashObject
because they are added to the instance in the constructor. This PR adds a new intersection type calledFlashObjectWithOptions
that declares this.https://github.com/adopted-ember-addons/ember-cli-flash/blob/e9d99f5156cbf4c3877c95feb884c07e136498a9/ember-cli-flash/src/flash/object.js#L28