From 4ac3fd85e38207fa82d699fbaa1c8d993f84dacc Mon Sep 17 00:00:00 2001 From: tukuyo Date: Thu, 17 Nov 2022 21:10:20 +0900 Subject: [PATCH] Fix: ParamsOf description typo --- src/common/params.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/common/params.ts b/src/common/params.ts index a35a870b3..6bc56c897 100644 --- a/src/common/params.ts +++ b/src/common/params.ts @@ -71,7 +71,7 @@ export type Extract = Part extends `{${infer Param}=**}` : never; /** - * A type that maps all parameter capture gropus into keys of a record. + * A type that maps all parameter capture groups into keys of a record. * For example, ParamsOf<"users/{uid}"> is { uid: string } * ParamsOf<"users/{uid}/logs/{log}"> is { uid: string; log: string } * ParamsOf<"some/static/data"> is {}