diff --git a/jecs.luau b/jecs.luau index bc8cb59..4f920df 100644 --- a/jecs.luau +++ b/jecs.luau @@ -2311,7 +2311,7 @@ export type World = { } return { - World = World, + World = World :: { new: () -> World }, OnAdd = EcsOnAdd :: Entity<(entity: Entity) -> ()>, OnRemove = EcsOnRemove :: Entity<(entity: Entity) -> ()>,