結果 : typescript specify type of function parameter