function sumadd(a:number, b:Object) :Number {return b[a]}console.log(sumadd(0, 'dsdsdsds'))刚看TS,不太懂。return的是字符串,但是没有报错。