From 1c80e8579b5ad72eb6523ab2714b2ba302d8910f Mon Sep 17 00:00:00 2001 From: EncodedVenom Date: Mon, 23 Sep 2024 08:23:09 -0400 Subject: [PATCH] Fix the fun type at the bottom --- src/init.luau | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/init.luau b/src/init.luau index 90767fb..b8154ec 100644 --- a/src/init.luau +++ b/src/init.luau @@ -1813,7 +1813,7 @@ export type World = { component: (self: World) -> Entity, --- Gets the target of an relationship. For example, when a user calls --- `world:target(id, ChildOf(parent), 0)`, you will obtain the parent entity. - target: (self: World, id: Entity, relation: Entity, nth: number) -> Entity?, + target: (self: World, id: Entity, relation: Entity, nth: number?) -> Entity?, --- Deletes an entity and all it's related components and relationships. delete: (self: World, id: Entity) -> (),