Exports IWithData and IWithForm types
Explicitly makes generic extend IOptionsBase
Changes IWithData's data property to be string, Buffer, or object (allows strings, Buffers, objects, or arrays)
No behavior is affected so no new tests were written
Example usage - you can now construct a typed options object using the IWithData or IWithForm types.
Fixes #63
Exports IWithData and IWithForm types Explicitly makes generic extend IOptionsBase Changes IWithData's data property to be string, Buffer, or object (allows strings, Buffers, objects, or arrays)
No behavior is affected so no new tests were written
Example usage - you can now construct a typed options object using the
IWithData
orIWithForm
types.If you think something should be added to documentation, let me know.