miniplex icon indicating copy to clipboard operation
miniplex copied to clipboard

Types: `createEntity` should return an entity type that is guaranteed to have the components passed to the function

Open hmans opened this issue 2 years ago • 0 comments

image

In this scenario, the optional particle will never be undefined, because createEntity mixes it into the entity object, so the type should be marked accordingly.

hmans avatar Apr 02 '22 01:04 hmans