docs: backslash escape parametrized TypeScript types (#41693)
This commit is contained in:
parent
83777ac83f
commit
1b80911417
19 changed files with 47 additions and 47 deletions
|
@ -10,7 +10,7 @@
|
|||
`"text/html"`. Setting `mimeType` would implicitly set the `content-type`
|
||||
header in response, but if `content-type` is already set in `headers`, the
|
||||
`mimeType` would be ignored.
|
||||
* `headers` Record<string, string | string[]> (optional) - An object containing the response headers. The
|
||||
* `headers` Record\<string, string | string[]\> (optional) - An object containing the response headers. The
|
||||
keys must be string, and values must be either string or Array of string.
|
||||
* `data` (Buffer | string | ReadableStream) (optional) - The response body. When
|
||||
returning stream as response, this is a Node.js readable stream representing
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue