結果 : typescript function type with default value