Effect CommunityEC
Effect Community3y ago
3 replies
ts

Clarifying the Recursive Value in the ServerResponse Interface

In
export interface ServerResponse extends Effect.Effect<never, never, ServerResponse> {
  readonly [TypeId]: TypeId
  readonly status: number
  readonly statusText?: string
  readonly headers: Headers.Headers
  readonly body: Body.Body
}

Is the value meant to be recursive, or is that supposed to be a node:http ServerResponse?
Was this page helpful?