mirror of
https://github.com/Ukendio/jecs.git
synced 2025-06-20 00:09:18 +00:00
Fix typescript example
Some checks are pending
Some checks are pending
This commit is contained in:
parent
0541f80b5d
commit
5dba6e7bac
2 changed files with 2 additions and 7 deletions
|
@ -25,10 +25,6 @@ export default defineConfig({
|
|||
},
|
||||
],
|
||||
"/learn/": [
|
||||
{
|
||||
text: "Overview",
|
||||
items: [{ text: "Overview", link: "/learn/overview" }],
|
||||
},
|
||||
{
|
||||
text: "API Reference",
|
||||
items: [
|
||||
|
|
|
@ -99,14 +99,13 @@ print(e)
|
|||
-- 1000
|
||||
```
|
||||
```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)
|
||||
// Output:
|
||||
// 1000
|
||||
```
|
||||
```
|
||||
:::
|
||||
|
||||
### Hooks
|
||||
|
|
Loading…
Reference in a new issue