結果 : typescript call function with generic type