I changed the definition of the Boom type to use interfaces. This enables it to specify the return type of the constructor and merge the type with the decorator option.
Additionally, I made the data property optional to reflect the actual implementation.
This thread has been automatically locked due to inactivity. Please open a new issue for related bugs or questions following the new issue template instructions.
I changed the definition of the Boom type to use interfaces. This enables it to specify the return type of the constructor and merge the type with the
decorator
option.Additionally, I made the
data
property optional to reflect the actual implementation.