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