mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-07 12:44:28 +08:00
Use TypeAlias where possible for type aliases (#7630)
This commit is contained in:
@@ -1,8 +1,9 @@
|
||||
from typing import IO, Any, Iterable
|
||||
from typing_extensions import TypeAlias
|
||||
|
||||
AS_IS: None
|
||||
_FontType = tuple[str, bool, bool, bool]
|
||||
_StylesType = tuple[Any, ...]
|
||||
_FontType: TypeAlias = tuple[str, bool, bool, bool]
|
||||
_StylesType: TypeAlias = tuple[Any, ...]
|
||||
|
||||
class NullFormatter:
|
||||
writer: NullWriter | None
|
||||
|
||||
Reference in New Issue
Block a user