Fix the fun type at the bottom

This commit is contained in:
EncodedVenom 2024-09-23 08:23:09 -04:00
parent c1e11cf844
commit 1c80e8579b
No known key found for this signature in database
GPG key ID: 53DD08D6797AB27A

View file

@ -1813,7 +1813,7 @@ export type World = {
component: <T>(self: World) -> Entity<T>,
--- 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) -> (),