Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ let myIdentity: <Type>(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<Input>(arg: Input): Input {
function identity<Type>(arg: Type): Type {
return arg;
}

Expand Down