結果 : typescript add type to function parameter