From 411e83ecf70e428b529fc2a09a49519e8f36c8fa Mon Sep 17 00:00:00 2001 From: Yuddomack <41747333+Yuddomack@users.noreply.github.com> Date: Tue, 29 Aug 2023 17:42:22 +0900 Subject: [PATCH] Fix typo in $Call comment (#185) --- 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'];