You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
Bug Description
Latest versions of undici and undici-types are incompatible, because of:
(when RequestInit comes from undici-types 6.20.0)
Reproducible By
Expected Behavior
Both packages should be compatible with each other.
The text was updated successfully, but these errors were encountered: