HttpHeadersInit type

HTTP 헤더를 초기화하는 데 사용할 수 있는 헤더 유형을 나타냅니다. 이는 lib.dom에 대한 의존을 피하기 위한 지역적 정의입니다. Node.js 네이티브 Fetch API 헤더 유형과 호환됩니다.

type HttpHeadersInit = Headers | Record<string, string> | [string, string][]