Open floratmin opened 3 years ago
The addMessage method on the Extractor class does not allow to add messages where some fields are null. But the definition of the IMessage interface allows null values for text, textPlural and context.
addMessage
Extractor
IMessage
null
text
textPlural
context
You're right, that's definitely not consistent. Until this is fixed you can use undefined instead of null.
undefined
The
addMessage
method on theExtractor
class does not allow to add messages where some fields are null. But the definition of theIMessage
interface allowsnull
values fortext
,textPlural
andcontext
.