docs: fix syntax in ts example

This commit is contained in:
Lucas 2024-10-13 17:52:53 -03:00 committed by GitHub
parent de56723f07
commit 98df228d5c
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]
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 Entity = world.entity();