mirror of
https://github.com/voltrevo/ValueScript.git
synced 2026-01-13 15:38:06 -05:00
10 lines
155 B
TypeScript
10 lines
155 B
TypeScript
//! test_output(3)
|
|
|
|
export default function main() {
|
|
return foo({ a: 1, b: 2 });
|
|
}
|
|
|
|
function foo({ a, b }: { a: number, b: number }) {
|
|
return a + b;
|
|
}
|