Skip to content

Commit ee072e4

Browse files
committed
fix ESM build to use 'useDefineForClassFields', so property descriptors work properly. colyseus/colyseus#739
1 parent bcb67b0 commit ee072e4

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@colyseus/schema",
3-
"version": "2.0.32",
3+
"version": "2.0.33",
44
"description": "Binary state serializer with delta encoding for games",
55
"bin": {
66
"schema-codegen": "./bin/schema-codegen"

tsconfig/tsconfig.all.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
"moduleResolution": "node",
55
"lib": ["ES2018"],
66
"experimentalDecorators": true,
7+
"useDefineForClassFields": false,
78
"noImplicitAny": false,
89
"inlineSources": true,
910
"sourceMap": true

0 commit comments

Comments
 (0)