Command Generic Room Type does not infer State Type
fairhat opened this issue · 0 comments
fairhat commented
Library extends the Command class with Generic Types of <Room, Payload>
However it should be <Room, Payload>
Solution:
export abstract class Command<
R extends Room<any, any> = Room,
Payload = unknown,
> {
payload: Payload;
PR coming soon