Skip to content

Commit 2a20cb0

Browse files
authored
docs: fix typo in comment on InitParam (#1841)
1 parent eb5307f commit 2a20cb0

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
@@ -160,7 +160,7 @@ export type MaybeOptionalInit<Params extends Record<HttpMethod, {}>, Location ex
160160
// The final init param to accept.
161161
// - Determines if the param is optional or not.
162162
// - Performs arbitrary [key: string] addition.
163-
// Note: the addition It MUST happen after all the inference happens (otherwise TS can’t infer if init is required or not).
163+
// Note: the addition MUST happen after all the inference happens (otherwise TS can’t infer if init is required or not).
164164
type InitParam<Init> = RequiredKeysOf<Init> extends never
165165
? [(Init & { [key: string]: unknown })?]
166166
: [Init & { [key: string]: unknown }];

0 commit comments

Comments
 (0)