From be6aa75106e79f3dc38966d41651282ea679edfe Mon Sep 17 00:00:00 2001 From: blueloveTH Date: Fri, 15 Nov 2024 10:44:16 +0800 Subject: [PATCH] Update pkpy.pyi --- include/typings/pkpy.pyi | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/include/typings/pkpy.pyi b/include/typings/pkpy.pyi index e0e018e6..f8f850f4 100644 --- a/include/typings/pkpy.pyi +++ b/include/typings/pkpy.pyi @@ -1,7 +1,13 @@ from typing import Self +from linalg import vec2, vec2i class TValue[T]: def __new__(cls, value: T) -> Self: ... @property def value(self) -> T: ... + +TValue_int = TValue[int] +TValue_float = TValue[float] +TValue_vec2i = TValue[vec2i] +TValue_vec2 = TValue[vec2]