Skip to content

Commit

Permalink
fix ESM build to use 'useDefineForClassFields', so property descripto…
Browse files Browse the repository at this point in the history
…rs work properly. colyseus/colyseus#739
  • Loading branch information
endel committed Jun 15, 2024
1 parent bcb67b0 commit ee072e4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@colyseus/schema",
"version": "2.0.32",
"version": "2.0.33",
"description": "Binary state serializer with delta encoding for games",
"bin": {
"schema-codegen": "./bin/schema-codegen"
Expand Down
1 change: 1 addition & 0 deletions tsconfig/tsconfig.all.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
"moduleResolution": "node",
"lib": ["ES2018"],
"experimentalDecorators": true,
"useDefineForClassFields": false,
"noImplicitAny": false,
"inlineSources": true,
"sourceMap": true
Expand Down

0 comments on commit ee072e4

Please sign in to comment.