Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

`#duplex` is missing from `RequestInit`

Open Beginner friendly
#1,483 6 comments 29 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
68/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Quiet
Tech stack
typescript
Domain
api

Research direction

Search the repository for the RequestInit definition, then compare it with the Fetch specification's Request class section and undici's RequestInit types using the linked references. Done means the generated TypeScript DOM typings include the duplex property on RequestInit.

Written by the indexing model from the issue text.

Description

The Fetch WG introduced a new duplex property to RequestInit^1 back in July that undici is now abiding by when making payload requests with a ReadableStream^2. They have added this new duplex property into their own RequestInit types, but as this is now a part of the core fetch specification it should be included here.

https://fetch.spec.whatwg.org/#request-class

Dominant language
TypeScript
Stars
740
Forks
474
Avg merge
2d 8h
Merged PRs (30d)
15

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from microsoft/TypeScript-DOM-lib-generator

All issues in microsoft/TypeScript-DOM-lib-generator

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.