Closed yty closed 1 year ago
Hey @yty, thanks for reporting, this is likely due to TypeScript version (we've improved 4.8+ support here https://github.com/colyseus/schema/commit/25f9697f270f628967d7d960654cc6ef55b6cbbe)
Although it should work on previous versions, can you share with version of TypeScript are you using? Cheers!
Just fixed it on https://github.com/colyseus/schema/commit/1084a6be9b9f9cabbc43425b9d4069040ffc0925, you can either upgrade TypeScript to "typescript": "^4.8.4"
, or/and "@colyseus/schema": "^1.0.43"
🙏
Just fixed it on colyseus/schema@1084a6b, you can either upgrade TypeScript to , or/and
"typescript": "^4.8.4"``"@colyseus/schema": "^1.0.43"
🙏
Thanks for your reply, follow your tips, it is already available. :+1: