Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

types: Align RequestInit type with lib.dom.ts type #1196

Closed
wants to merge 1 commit into from

Conversation

suneettipirneni
Copy link
Contributor

This relates to...

#1172

Rationale

Types for RequestInit should be fully compatible with typescript dom types.

Changes

Adds all properties to RequestInit that were missing based on the typescript dom types. This adjusts the Headers subtype to also follow the typescript definitions.

Features

N/A

Bug Fixes

closes #1172

Breaking Changes and Deprecations

N/A

Status

KEY: S = Skipped, x = complete

@suneettipirneni suneettipirneni changed the title Main types: Align RequestInit type with lib.dom.ts types Feb 2, 2022
@suneettipirneni suneettipirneni changed the title types: Align RequestInit type with lib.dom.ts types types: Align RequestInit type with lib.dom.ts type Feb 2, 2022
@codecov-commenter
Copy link

codecov-commenter commented Feb 2, 2022

Codecov Report

Merging #1196 (6aa8aad) into main (5c19579) will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##             main    #1196   +/-   ##
=======================================
  Coverage   93.73%   93.73%           
=======================================
  Files          43       43           
  Lines        4023     4023           
=======================================
  Hits         3771     3771           
  Misses        252      252           

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 5c19579...6aa8aad. Read the comment docs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

RequestInit interface does not support all of the props in dom RequestInit interface
2 participants