diff --git a/pmb/types.py b/pmb/types.py
index a8263f8d14d074791e6a95f37f831b4ed87b42d2..fe47788b5dd4b58d7c346f772b0b4bff58676c4c 100644
--- a/pmb/types.py
+++ b/pmb/types.py
@@ -3,12 +3,12 @@
 
 from argparse import Namespace
 from pathlib import Path
-from typing import Literal, Optional, TypedDict, Union
+from typing import Literal, TypedDict
 
 from pmb.core.arch import Arch
 
-CrossCompileType = Optional[Literal["native"] | Literal["crossdirect"]]
-PathString = Union[Path, str]
+CrossCompileType = Literal["native"] | Literal["crossdirect"] | None
+PathString = Path | str
 Env = dict[str, PathString]
 
 # These types are not definitive / API, they exist to describe the current