diff --git a/crossword_puzzle/custom_types.py b/crossword_puzzle/custom_types.py index a81d5c6b9..bedb92aba 100644 --- a/crossword_puzzle/custom_types.py +++ b/crossword_puzzle/custom_types.py @@ -11,7 +11,7 @@ class Placement(TypedDict): word: str direction: str pos: Tuple[int] - intersections: List[None] | List[Tuple[int]] + intersections: Union[List[None], List[Tuple[int]]] class CrosswordData(TypedDict):