W3cubDocs

/Angular

ResponseInit

Type that represents the initialization options for a response.

API

type ResponseInit = {
  // This is needed as `@types/node` and Undici marks all these properties as readonly. This is not the case in lib.dom.d.ts
  -readonly [P in keyof globalThis.ResponseInit]: globalThis.ResponseInit[P];
}

Super-powered by Google ©2010–2025.
Code licensed under an MIT-style License. Documentation licensed under CC BY 4.0.
https://angular.dev/api/core/ResponseInit