hapijs / boom

HTTP-friendly error objects
Other
2.94k stars 192 forks source link

Ts fix #241

Closed kanongil closed 5 years ago

kanongil commented 5 years ago

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.

lock[bot] commented 4 years ago

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.