Skip to content

Commit 899f8a8

Browse files
committed
fix(UnityPyBoost.pyi) - read_typetree returns tuple[, int]
1 parent 6d2d6dd commit 899f8a8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

UnityPy/UnityPyBoost.pyi

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
from __future__ import annotations
22

3-
from typing import TYPE_CHECKING, Any, List, Literal, Optional, Union
3+
from typing import TYPE_CHECKING, Any, List, Literal, Optional, Tuple, Union
44

55
if TYPE_CHECKING:
66
from .classes import Object
@@ -23,7 +23,7 @@ def read_typetree(
2323
as_dict: bool,
2424
assetsfile: SerializedFile,
2525
classes: dict,
26-
) -> Union[dict[str, Any], Object]: ...
26+
) -> Tuple[Union[dict[str, Any], Object], int]: ...
2727

2828
class TypeTreeNode:
2929
m_Level: int

0 commit comments

Comments
 (0)