Closed kwhitley closed 1 year ago
New signature for status takes full ResponseInit options as second param:
status
ResponseInit
status = (status: number, options?: ResponseInit): Response
Changed ResponseFormatter internal type for createResponse to be more helpful in downstream uses (e.g. json)
ResponseFormatter
createResponse
json
interface ResponseFormatter { (body?: any, options?: ResponseInit): Response }
See #175
Description
New signature for
status
takes fullResponseInit
options as second param:Changed
ResponseFormatter
internal type forcreateResponse
to be more helpful in downstream uses (e.g.json
)Issue Related
See #175
TODO