mirror of
https://github.com/Ukendio/jecs.git
synced 2025-04-24 17:10:03 +00:00
fix: query:archetypes()
didnt take self in type (#143)
This commit is contained in:
parent
6359701a69
commit
11f9615495
1 changed files with 1 additions and 1 deletions
|
@ -1681,7 +1681,7 @@ type Query<T...> = typeof(setmetatable({}, {
|
||||||
with: (self: Query<T...>, ...i53) -> Query<T...>,
|
with: (self: Query<T...>, ...i53) -> Query<T...>,
|
||||||
without: (self: Query<T...>, ...i53) -> Query<T...>,
|
without: (self: Query<T...>, ...i53) -> Query<T...>,
|
||||||
replace: (self: Query<T...>, <U...>(T...) -> U...) -> (),
|
replace: (self: Query<T...>, <U...>(T...) -> U...) -> (),
|
||||||
archetypes: () -> { Archetype },
|
archetypes: (self: Query<T...>) -> { Archetype },
|
||||||
}
|
}
|
||||||
|
|
||||||
export type World = {
|
export type World = {
|
||||||
|
|
Loading…
Reference in a new issue