You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Right now FooMessage.bars is of type BarMessage$Properties[] which has the unfortunate side-effect of FooMessage.bars[0].my_string being of type string|undefined when it should be of type string.
Would changing the typings from Message$Properties to just Message be an acceptable fix? OR
Should we duplicate the Message$Properties interface and create two versions? One with optional props and one without optional props?
The text was updated successfully, but these errors were encountered:
Right now FooMessage.bars is of type BarMessage$Properties[] which has the unfortunate side-effect of
FooMessage.bars[0].my_string
being of typestring|undefined
when it should be of typestring
.Message$Properties
to justMessage
be an acceptable fix? ORMessage$Properties
interface and create two versions? One with optional props and one without optional props?The text was updated successfully, but these errors were encountered: