The identity type is a function signature that returns the exact same type that it received as input:
export type Identity<T> = (x: T) => T;
Identity type functions do not guarantee to return the same value, only the same type. They're not guaranteed to be the identity function.
We use the identity type extensively in safe types. User-supplied functional options all have an identity type.