File tree Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " @colyseus/schema" ,
3
- "version" : " 3.0.15 " ,
3
+ "version" : " 3.0.16 " ,
4
4
"description" : " Binary state serializer with delta encoding for games" ,
5
5
"bin" : {
6
6
"schema-codegen" : " ./bin/schema-codegen" ,
Original file line number Diff line number Diff line change @@ -18,6 +18,7 @@ import type { CollectionSchema } from "../../types/custom/CollectionSchema";
18
18
//
19
19
20
20
export type SchemaCallbackProxy < RoomState > = ( < T extends Schema > ( instance : T ) => CallbackProxy < T > ) ;
21
+ export type GetCallbackProxy = SchemaCallbackProxy < any > ; // workaround for compatibility for < colyseus.js0.16.6. Remove me on next major release.
21
22
22
23
export type CallbackProxy < T > = unknown extends T // is "any"?
23
24
? SchemaCallback < T > & CollectionCallback < any , any >
You can’t perform that action at this time.
0 commit comments