HttpHeadersInit type

HTTP ヘッダーの初期化に使用できるヘッダーの種類を表します。 これはlib.domへの依存を避けるためのローカルな定義です。 Node.js ネイティブのFetch APIヘッダータイプに対応しています。

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