(body: string, contentType?: string)
| 111 | |
| 112 | /** @internal */ |
| 113 | export const text = (body: string, contentType?: string): Body.Uint8Array => |
| 114 | uint8Array(encoder.encode(body), contentType ?? "text/plain") |
| 115 | |
| 116 | /** @internal */ |
| 117 | export const unsafeJson = (body: unknown, contentType?: string): Body.Uint8Array => |
no test coverage detected
searching dependent graphs…