Skip to content

Commit

Permalink
fix: query:archetypes() didnt take self in type (#143)
Browse files Browse the repository at this point in the history
  • Loading branch information
Mark-Marks authored Oct 12, 2024
1 parent 6359701 commit 11f9615
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/init.luau
Original file line number Diff line number Diff line change
Expand Up @@ -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 = {
Expand Down

0 comments on commit 11f9615

Please sign in to comment.