fix: query:archetypes() didnt take self in type (#143)

This commit is contained in:
Magic 2024-10-12 17:04:49 +02:00 committed by GitHub
parent 6359701a69
commit 11f9615495
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1681,7 +1681,7 @@ type Query<T...> = typeof(setmetatable({}, {
with: (self: Query<T...>, ...i53) -> Query<T...>,
without: (self: Query<T...>, ...i53) -> Query<T...>,
replace: (self: Query<T...>, <U...>(T...) -> U...) -> (),
archetypes: () -> { Archetype },
archetypes: (self: Query<T...>) -> { Archetype },
}
export type World = {