From ab3f44004fc004f84cd8f1ccf2e10a36d88dade2 Mon Sep 17 00:00:00 2001 From: Marcus Date: Tue, 30 Apr 2024 16:19:24 +0200 Subject: [PATCH] Keep export world --- lib/init.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/init.lua b/lib/init.lua index a3642de..3374970 100644 --- a/lib/init.lua +++ b/lib/init.lua @@ -194,7 +194,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 @@ -581,4 +581,4 @@ return table.freeze({ ON_ADD = ON_ADD, ON_REMOVE = ON_REMOVE, ON_SET = ON_SET -}) \ No newline at end of file +})