Skip to content
Myr

fix(client): add missing properties to `ClientResponse` (#1861)

Before adoption: this commit came in with the history the project adopted, so no landing records it.

* fix(client): add missing properties to `ClientResponse` * denoify

authored by Yusuke Wada · committed by GitHub · parent 7f0e51a · Browse files · 2 files+4 added−0 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

2 files+4 added−0 removed

  • other:+4 added−0 removed

2 files+4 added−0 removed

modified:deno_dist/client/types.ts+2 added
modified:src/client/types.ts+2 added
28 unmodified lines
29// eslint-disable-next-line @typescript-eslint/no-explicit-any30type BlankRecordToNever<T> = T extends any ? (keyof T extends never ? never : T) : never3132export interface ClientResponse<T> {33 readonly body: ReadableStream | null34 readonly bodyUsed: boolean35 ok: boolean36 status: number37 statusText: string38 headers: Headers
76 unmodified lines