From 0e3972f64a8f33f0b89fada94031a39b0d75b5bf Mon Sep 17 00:00:00 2001 From: Tobias Schlatter Date: Mon, 12 Aug 2024 08:56:16 +0200 Subject: [PATCH] docs: fix typo in comment on `InitParam` --- packages/openapi-fetch/src/index.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 }];