function echo(arg:any):any{ return arg } const result=echo(123)
function echo<T>(arg:T):T{ return arg } const result1=echo(123) function swap<T,U>(tuple:[T,U]):[U,T]{ return [tuple[1],tuple[0]] } const result=swap(['string',123])
function echo(arg:any):any{ return arg } const result=echo(123)
function echo<T>(arg:T):T{ return arg } const result1=echo(123) function swap<T,U>(tuple:[T,U]):[U,T]{ return [tuple[1],tuple[0]] } const result=swap(['string',123])