miniplex
miniplex copied to clipboard
Types: `createEntity` should return an entity type that is guaranteed to have the components passed to the function
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.