mirror of
https://github.com/voltrevo/ValueScript.git
synced 2026-01-13 15:38:06 -05:00
10 lines
203 B
TypeScript
10 lines
203 B
TypeScript
// test_ouput! 42
|
|
|
|
export default function main() {
|
|
return foo([[[{ x: { y: [[{ z: 42 }]] } }]]]);
|
|
}
|
|
|
|
function foo([[[{ x: { y: [[{ z }]] } }]]]: [[[{ x: { y: [[{ z: number }]] } }]]]) {
|
|
return z;
|
|
}
|