In typescipt, what is the difference between between T and T extends unknown when used as type parameter. For example:
function check<T extends unknown>(x: T): T {
return x;
}
vs
function check<T>(x: T): T {
return x;
}
Is there any difference between them in terms of behaviour?