結果 : typescript define function type with arguments