docs: backslash escape parametrized TypeScript types (#41575)

* docs: backslash escape parametrized TypeScript types

* missing instances
This commit is contained in:
Erick Zhao 2024-03-25 03:19:44 -07:00 committed by GitHub
parent 8c427253b3
commit b9c4b27781
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
20 changed files with 48 additions and 48 deletions

View file

@ -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