From 5c0564fd74a53dc67ef962a36f075d0e7664f198 Mon Sep 17 00:00:00 2001 From: Galen Nickel Date: Wed, 22 Apr 2026 14:44:41 -0700 Subject: [PATCH] Rename type parameter in Generics example --- common-docs/javascript/generics.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common-docs/javascript/generics.md b/common-docs/javascript/generics.md index f812b55873f7..cdc2acd2bbd9 100644 --- a/common-docs/javascript/generics.md +++ b/common-docs/javascript/generics.md @@ -131,7 +131,7 @@ function identity(arg: T): T { return arg; } -let myIdentity: (arg: U) => U = identity; +let myIdentity: (arg: V) => V = identity; ``` We can also write the generic type as a call signature of an object literal type: