diff --git a/packages/openapi-fetch/src/index.d.ts b/packages/openapi-fetch/src/index.d.ts index ca173c1a2..d52b71337 100644 --- a/packages/openapi-fetch/src/index.d.ts +++ b/packages/openapi-fetch/src/index.d.ts @@ -160,7 +160,7 @@ export type MaybeOptionalInit, Location ex // The final init param to accept. // - Determines if the param is optional or not. // - Performs arbitrary [key: string] addition. -// Note: the addition It MUST happen after all the inference happens (otherwise TS can’t infer if init is required or not). +// Note: the addition MUST happen after all the inference happens (otherwise TS can’t infer if init is required or not). type InitParam = RequiredKeysOf extends never ? [(Init & { [key: string]: unknown })?] : [Init & { [key: string]: unknown }];