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

undici-types v6.20.1 didn't get published #3801

Open
am-burban opened this issue Nov 4, 2024 · 1 comment
Open

undici-types v6.20.1 didn't get published #3801

am-burban opened this issue Nov 4, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@am-burban
Copy link

am-burban commented Nov 4, 2024

Bug Description

Latest versions of undici and undici-types are incompatible, because of:

Type 'RequestInit | undefined' is not assignable to type 'import("node_modules/.pnpm/[email protected]/node_modules/undici/types/fetch").RequestInit | undefined'.

(when RequestInit comes from undici-types 6.20.0)

Reproducible By

// Latest versions as of 2024-11-04 13:54 UTC
import { fetch } from 'undici'; // 6.20.1
import { RequestInit } from 'undici-types'; // 6.20.0

const init: RequestInit = {};
fetch('http://example.org', init);

Expected Behavior

Both packages should be compatible with each other.

@am-burban am-burban added the bug Something isn't working label Nov 4, 2024
@metcoder95
Copy link
Member

@Ethan-Arrowood

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants