Weighted Average Maturity of the mortgage pooldef WAM(tup):
return (x[0] * (x[2]/12) + y[0] * (y[weightedAM(tup):
sum_val = sum(amount for amount, rate, t
: Person) {}
getAge({age: 16, classes: '5-4'}) // ok
getAge({age: 20, salary: 1000, classes: '5-4'}) // Should be error but type checker success如何编写函数签名以防止getAge({age: 20,