Type Alias Component

Component: Record<string, any>

This type represents an instance of a component in the ECS system.
Components are data containers that can be attached to entities
to define their properties and state.
They are implemented as plain objects with key-value pairs.

class PlayerComponent {
health: number;
speed: number;
}