mirror of
https://github.com/Ukendio/jecs.git
synced 2025-06-20 08:19: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/": [
|
"/learn/": [
|
||||||
{
|
|
||||||
text: "Overview",
|
|
||||||
items: [{ text: "Overview", link: "/learn/overview" }],
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
text: "API Reference",
|
text: "API Reference",
|
||||||
items: [
|
items: [
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue