結果 : typescript type function in object