mirror of
https://github.com/Ukendio/jecs.git
synced 2025-04-24 17:10:03 +00:00
Compare commits
2 commits
8225946fc2
...
d34daab78e
Author | SHA1 | Date | |
---|---|---|---|
|
d34daab78e | ||
|
5a6357b8da |
1 changed files with 1 additions and 3 deletions
|
@ -1733,7 +1733,7 @@ end
|
|||
|
||||
export type Id<T = unknown> = Entity<T>
|
||||
|
||||
type function _Pair(first, second)
|
||||
export type function Pair(first, second)
|
||||
local thing = first:components()[2]
|
||||
|
||||
if thing:readproperty(types.singleton("__T")):is("nil") then
|
||||
|
@ -1743,8 +1743,6 @@ 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 }
|
||||
|
|
Loading…
Reference in a new issue