docs: fix syntax in ts example (#146)

This commit is contained in:
Lucas 2024-10-14 21:03:13 -03:00 committed by GitHub
parent de56723f07
commit d6f4d782a2
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -136,7 +136,7 @@ print(world:has(Entity, Ragdolled))
```ts [typescript] ```ts [typescript]
const IsMoving = world.component(); const IsMoving = world.component();
const Ragdolled = world.entity(); -- This is a tag, meaning it won't contain data const Ragdolled = world.entity(); // This is a tag, meaning it won't contain data
const Health = world.component<number>(); const Health = world.component<number>();
const Entity = world.entity(); const Entity = world.entity();