mirror of
https://github.com/Ukendio/jecs.git
synced 2025-04-24 17:10:03 +00:00
Change entity type
This commit is contained in:
parent
1d1b7b099a
commit
264225355e
1 changed files with 1 additions and 1 deletions
|
@ -2196,7 +2196,7 @@ function World.new()
|
|||
return self
|
||||
end
|
||||
|
||||
export type Entity<T = nil> = number & { __T: T }
|
||||
export type Entity<T = unknown> = {__T: T}
|
||||
|
||||
export type Id<T = nil> =
|
||||
| Entity<T>
|
||||
|
|
Loading…
Reference in a new issue