結果 : typescript declare function with optional parameter