5 lines
64 B
TypeScript
5 lines
64 B
TypeScript
|
function foo<T extends T>(x: T): number {
|
||
|
return x;
|
||
|
}
|
||
|
|