結果 : typescript define function on type