mirror of
https://github.com/Ukendio/jecs.git
synced 2025-04-25 01:20:04 +00:00
World type export
This commit is contained in:
parent
7e110a7487
commit
b55b45d2ac
1 changed files with 1 additions and 1 deletions
|
@ -192,7 +192,7 @@ local function onNotifyAdd(world, archetype, otherArchetype, row: number, added:
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
||||||
type World = typeof(World.new())
|
export type World = typeof(World.new())
|
||||||
|
|
||||||
local function ensureArchetype(world: World, types, prev)
|
local function ensureArchetype(world: World, types, prev)
|
||||||
if #types < 1 then
|
if #types < 1 then
|
||||||
|
|
Loading…
Reference in a new issue