結果 : typescript extend function type