Issue with TaggedClass constructor when passing additional properties
this is a problem for TaggedClass, when the user passes another
_tag in the constructor (no compile error)e.g:
while
state: LabelCreated | Printed_tagstate: LabelCreated | Printed if (additionalProps !== undefined) {
props = { ...additionalProps, ...props }
} new Printed({
..._.state,
processing: null,
at: new Date(),
byUserId: userId,
printerId,
context
})