Task Description: Implement a Task Manager Functionality
Create a task manager application that allows users to add, list, and remove tasks. The functionality to be implemented must be designed to ensure that the following test cases pass:
Add Task: Implement a method add_task(description: str) -> None that adds a new task with the given description to a task list. Ensure that each task has a unique ID automatically assigned (starting from 1) and increments for each subsequent task.
List Tasks: Implement a method list_tasks() -> List[Dict[str, Union[int, str]]] that returns a list of all tasks in the following format:
Each task should be represented as a dictionary with keys: id (task ID) and description (task description).
The tasks should be returned in the order they were added (first added, first listed).
Remove Task: Implement a method remove_task(task_id: int) -> bool that removes a task by its ID. The method should return True if the task was successfully removed and False if the task ID does not exist.
Error Handling: Ensure proper error handling in the methods:
When adding a task, handle cases where the description is an empty string by raising a ValueError.
When removing a task, return False if the task ID is invalid and does not exist in the task list.
The implementation should be placed in the /app/ directory, in a file named task_manager.py. Ensure that all methods are part of a class named TaskManager. Include any necessary imports at the top of the file.