Compare commits

..

1 commit

Author SHA1 Message Date
Marcus
8225946fc2
Merge 08ac6a98db into d9be40d2ca 2024-12-14 03:17:52 +01:00

View file

@ -1733,7 +1733,7 @@ end
export type Id<T = unknown> = Entity<T>
export type function Pair(first, second)
type function _Pair(first, second)
local thing = first:components()[2]
if thing:readproperty(types.singleton("__T")):is("nil") then
@ -1743,6 +1743,8 @@ export type function Pair(first, second)
end
end
export type Pair<T, U> = _Pair<T, U>
type Item<T...> = (self: Query<T...>) -> (Entity, T...)
export type Entity<T = nil> = number & { __T: T }