diff --git a/lib/init.lua b/lib/init.lua index 9a51dc7..102804d 100644 --- a/lib/init.lua +++ b/lib/init.lua @@ -192,7 +192,7 @@ local function onNotifyAdd(world, archetype, otherArchetype, row: number, added: end -type World = typeof(World.new()) +export type World = typeof(World.new()) local function ensureArchetype(world: World, types, prev) if #types < 1 then