@colyseus/schema
Advanced tools
Comparing version 0.1.7 to 0.1.8
@@ -28,2 +28,3 @@ import * as decode from "./msgpack/decode"; | ||
onRemove?(): any; | ||
constructor(...args: any[]); | ||
markAsChanged(field: string, value?: Schema | any): void; | ||
@@ -30,0 +31,0 @@ readonly _schema: Definition; |
@@ -26,3 +26,8 @@ "use strict"; | ||
var Schema = /** @class */ (function () { | ||
// allow inherited classes to have a constructor | ||
function Schema() { | ||
var args = []; | ||
for (var _i = 0; _i < arguments.length; _i++) { | ||
args[_i] = arguments[_i]; | ||
} | ||
this.$changes = {}; | ||
@@ -29,0 +34,0 @@ this.$changed = false; |
{ | ||
"name": "@colyseus/schema", | ||
"version": "0.1.7", | ||
"version": "0.1.8", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
61614
1537