mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-16 00:37:10 +08:00
Bump pyright to v1.1.360 (#11810)
This commit is contained in:
@@ -160,15 +160,25 @@ class SassMap(Mapping[_KT, _VT_co]):
|
||||
@overload
|
||||
def __init__(self) -> None: ...
|
||||
@overload
|
||||
def __init__(self: SassMap[str, _VT_co], **kwargs: _VT_co) -> None: ...
|
||||
def __init__(self: SassMap[str, _VT_co], **kwargs: _VT_co) -> None: ... # pyright: ignore[reportInvalidTypeVarUse] #11780
|
||||
@overload
|
||||
def __init__(self, map: SupportsKeysAndGetItem[_KT, _VT_co], /) -> None: ...
|
||||
@overload
|
||||
def __init__(self: SassMap[str, _VT_co], map: SupportsKeysAndGetItem[str, _VT_co], /, **kwargs: _VT_co) -> None: ...
|
||||
def __init__(
|
||||
self: SassMap[str, _VT_co], # pyright: ignore[reportInvalidTypeVarUse] #11780
|
||||
map: SupportsKeysAndGetItem[str, _VT_co],
|
||||
/,
|
||||
**kwargs: _VT_co,
|
||||
) -> None: ...
|
||||
@overload
|
||||
def __init__(self, iterable: Iterable[tuple[_KT, _VT_co]], /) -> None: ...
|
||||
@overload
|
||||
def __init__(self: SassMap[str, _VT_co], iterable: Iterable[tuple[str, _VT_co]], /, **kwargs: _VT_co) -> None: ...
|
||||
def __init__(
|
||||
self: SassMap[str, _VT_co], # pyright: ignore[reportInvalidTypeVarUse] #11780
|
||||
iterable: Iterable[tuple[str, _VT_co]],
|
||||
/,
|
||||
**kwargs: _VT_co,
|
||||
) -> None: ...
|
||||
def __getitem__(self, key: _KT) -> _VT_co: ...
|
||||
def __iter__(self) -> Iterator[_KT]: ...
|
||||
def __len__(self) -> int: ...
|
||||
|
||||
Reference in New Issue
Block a user