Fix typescript example
Some checks are pending
analysis / Run Luau Analyze (push) Waiting to run
deploy-docs / build (push) Waiting to run
deploy-docs / Deploy (push) Blocked by required conditions
publish-npm / publish (push) Waiting to run
unit-testing / Run Luau Tests (push) Waiting to run

This commit is contained in:
Ukendio 2025-05-18 23:05:26 +02:00
parent 0541f80b5d
commit 5dba6e7bac
2 changed files with 2 additions and 7 deletions

View file

@ -25,10 +25,6 @@ export default defineConfig({
}, },
], ],
"/learn/": [ "/learn/": [
{
text: "Overview",
items: [{ text: "Overview", link: "/learn/overview" }],
},
{ {
text: "API Reference", text: "API Reference",
items: [ items: [

View file

@ -99,14 +99,13 @@ print(e)
-- 1000 -- 1000
``` ```
```typescript [typescript] ```typescript [typescript]
world.range(1000, 5000) -- Defines the lower and upper bounds of the entity range respectively world.range(1000, 5000) // Defines the lower and upper bounds of the entity range respectively
local e = world.entity() const e = world.entity()
print(e) print(e)
// Output: // Output:
// 1000 // 1000
``` ```
```
::: :::
### Hooks ### Hooks