Skip to content

Commit 2472e9e

Browse files
committed
docs: fix typo in comment on InitParam
1 parent f66be91 commit 2472e9e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/openapi-fetch/src/index.d.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,7 @@ export type MaybeOptionalInit<Params extends Record<HttpMethod, {}>, Location ex
159159
// The final init param to accept.
160160
// - Determines if the param is optional or not.
161161
// - Performs arbitrary [key: string] addition.
162-
// Note: the addition It MUST happen after all the inference happens (otherwise TS can’t infer if init is required or not).
162+
// Note: the addition MUST happen after all the inference happens (otherwise TS can’t infer if init is required or not).
163163
type InitParam<Init> = HasRequiredKeys<Init> extends never
164164
? [(Init & { [key: string]: unknown })?]
165165
: [Init & { [key: string]: unknown }];

0 commit comments

Comments
 (0)