5 lines
No EOL
90 B
TypeScript
5 lines
No EOL
90 B
TypeScript
function process( x: {a:number; b:string;}) {
|
|
return x.a;
|
|
}
|
|
|
|
process({a:true,b:"y"}); |