Kaynağa Gözat

Update pkpy.pyi

blueloveTH 1 yıl önce
ebeveyn
işleme
be6aa75106
1 değiştirilmiş dosya ile 6 ekleme ve 0 silme
  1. 6 0
      include/typings/pkpy.pyi

+ 6 - 0
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]