Update stubs

This commit is contained in:
Trinh Anh Ngoc
2022-10-08 21:29:10 +07:00
parent 533927b9eb
commit 9f4f970bd7

View File

@@ -1,22 +1,22 @@
from typing import Any from typing import Any
class SourceMapGenerator: class SourceMapGenerator:
_file: Any _file: None
_source_root: Any _source_root: str | None
_sources: Any _sources: dict[str, int]
_mappings: Any _mappings: list[dict[str, Any]]
_sources_contents: Any _sources_contents: dict[str, str]
_version: int _version: int
_cache: Any _cache: dict[tuple[int, int], str]
def __init__(self, source_root: Any | None = ...) -> None: ... def __init__(self, source_root: str | None = ...) -> None: ...
def _serialize_mappings(self): ... def _serialize_mappings(self) -> str: ...
def to_json(self): ... def to_json(self) -> dict: ...
def get_content(self): ... def get_content(self) -> bytes: ...
def add_source(self, source_name, source_content, last_index, start_offset: int = ...) -> None: ... def add_source(self, source_name: str, source_content: str, last_index: int, start_offset: int = ...) -> None: ...
B64CHARS: bytes B64CHARS: bytes
SHIFTSIZE: Any SHIFTSIZE: int
FLAG: Any FLAG: int
MASK: Any MASK: int
def base64vlq_encode(*values): ... def base64vlq_encode(*values) -> str: ...