Skip to content

Commit 9d018ce

Browse files
committed
fix(types): Import TypeAlias from typing-extensions
1 parent 989f8e8 commit 9d018ce

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

libvcs/types.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,9 @@
88
.. _typeshed's: https://github.com/python/typeshed/blob/5df8de7/stdlib/_typeshed/__init__.pyi#L115-L118
99
""" # NOQA E501
1010
from os import PathLike
11-
from typing import TypeAlias, Union
11+
from typing import Union
12+
13+
from typing_extensions import TypeAlias
1214

1315
StrPath: TypeAlias = Union[str, PathLike[str]] # stable
1416
""":class:`os.PathLike` or :class:`str`"""

0 commit comments

Comments
 (0)