3 lines
64 B
TypeScript
3 lines
64 B
TypeScript
|
function foo<T, U extends T>(u: U) {
|
||
|
var x3: U = u || u;
|
||
|
}
|