Update world::target for typescript

This commit is contained in:
EncodedVenom 2024-09-10 20:09:58 -04:00 committed by GitHub
parent 244d799cec
commit 07efaf39e9
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

2
src/index.d.ts vendored
View file

@ -98,7 +98,7 @@ export class World {
* @param relation The Relationship * @param relation The Relationship
* @returns The Parent Entity if it exists * @returns The Parent Entity if it exists
*/ */
target(entity: Entity, relation: Entity): Entity | undefined; target(entity: Entity, relation: Entity, index: number): Entity | undefined;
/** /**
* Clears an entity from the world. * Clears an entity from the world.