Push down types
This commit is contained in:
parent
a050ec252b
commit
47479896d5
1 changed files with 82 additions and 161 deletions
|
|
@ -1,24 +1,29 @@
|
|||
from typing import Any
|
||||
from reconcile_text._types import (
|
||||
BuiltinTokenizer,
|
||||
TextInput,
|
||||
TextWithCursors,
|
||||
TextWithCursorsAndHistory,
|
||||
)
|
||||
|
||||
def reconcile(
|
||||
parent: str,
|
||||
left: Any,
|
||||
right: Any,
|
||||
tokenizer: str = "Word",
|
||||
) -> dict[str, Any]: ...
|
||||
left: TextInput,
|
||||
right: TextInput,
|
||||
tokenizer: BuiltinTokenizer = "Word",
|
||||
) -> TextWithCursors: ...
|
||||
def reconcile_with_history(
|
||||
parent: str,
|
||||
left: Any,
|
||||
right: Any,
|
||||
tokenizer: str = "Word",
|
||||
) -> dict[str, Any]: ...
|
||||
left: TextInput,
|
||||
right: TextInput,
|
||||
tokenizer: BuiltinTokenizer = "Word",
|
||||
) -> TextWithCursorsAndHistory: ...
|
||||
def diff(
|
||||
parent: str,
|
||||
changed: Any,
|
||||
tokenizer: str = "Word",
|
||||
changed: TextInput,
|
||||
tokenizer: BuiltinTokenizer = "Word",
|
||||
) -> list[int | str]: ...
|
||||
def undiff(
|
||||
parent: str,
|
||||
diff: list[int | str],
|
||||
tokenizer: str = "Word",
|
||||
tokenizer: BuiltinTokenizer = "Word",
|
||||
) -> str: ...
|
||||
|
|
|
|||
Loading…
Reference in a new issue