You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[Bug]: [CocosCreator] Argument of type 'Room<MyRoomState>' is not assignable to parameter of type 'Room<Schema>'. Type 'MyRoomState' is missing the following properties from type 'Schema': [$getByIndex], [$deleteByIndex]ts(2345) #881
Argumentoftype 'Room<MyRoomState>' is not assignable to parameter of type 'Room<Schema>'.Type 'MyRoomState' is missing the following properties from type 'Schema': [$getByIndex], [$deleteByIndex]ts(2345)
using the Colyseus Multiplayer SDK from the Cocos Store, I found error messages in colyseus.d.ts, and it seems like the corresponding npm packages couldn’t be found, etc.
I have also looked at this in detail, but unfortunately it did not solve the problem.
(#859 (comment))
Finally, I provided a minimal reproduction example.