From 46bdbf3d7d363971f28095a44403da28a0a3f36a Mon Sep 17 00:00:00 2001 From: Yuddomack <41747333+Yuddomack@users.noreply.github.com> Date: Tue, 29 Aug 2023 10:13:49 +0900 Subject: [PATCH] Fix typo in $Call comment --- src/utility-types.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utility-types.ts b/src/utility-types.ts index 7755466..dce54f5 100644 --- a/src/utility-types.ts +++ b/src/utility-types.ts @@ -104,7 +104,7 @@ export type $ElementType< * @example * // Common use-case * const add = (amount: number) => ({ type: 'ADD' as 'ADD', payload: amount }); - * type AddAction = $Call; // { type: 'ADD'; payload: number } + * type AddAction = $Call; // { type: 'ADD'; payload: number } * * // Examples migrated from Flow docs * type ExtractPropType = (arg: T) => T['prop'];