mirror of
https://github.com/Ukendio/jecs.git
synced 2025-04-24 17:10:03 +00:00
fix 'jecs.World.new()' being inferred to return 'any'
This commit is contained in:
parent
669c216387
commit
53de1d1ccc
1 changed files with 1 additions and 1 deletions
|
@ -2311,7 +2311,7 @@ export type World = {
|
|||
}
|
||||
|
||||
return {
|
||||
World = World,
|
||||
World = World :: { new: () -> World },
|
||||
|
||||
OnAdd = EcsOnAdd :: Entity<(entity: Entity) -> ()>,
|
||||
OnRemove = EcsOnRemove :: Entity<(entity: Entity) -> ()>,
|
||||
|
|
Loading…
Reference in a new issue