From c4903b61ed9605b64da0427fb74e0fb80269bff0 Mon Sep 17 00:00:00 2001 From: grebenyuksv Date: Sun, 3 Dec 2023 14:44:26 +0100 Subject: [PATCH] Make an example more illustrative in Generics.md --- .../copy/en/handbook-v2/Type Manipulation/Generics.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/documentation/copy/en/handbook-v2/Type Manipulation/Generics.md b/packages/documentation/copy/en/handbook-v2/Type Manipulation/Generics.md index 4778af3281ae..da53d3f0b08d 100644 --- a/packages/documentation/copy/en/handbook-v2/Type Manipulation/Generics.md +++ b/packages/documentation/copy/en/handbook-v2/Type Manipulation/Generics.md @@ -152,7 +152,7 @@ let myIdentity: (arg: Type) => Type = identity; We could also have used a different name for the generic type parameter in the type, so long as the number of type variables and how the type variables are used line up. ```ts twoslash -function identity(arg: Input): Input { +function identity(arg: Type): Type { return arg; }