diff options
author | Bob Zeleznik <zzzman@gmail.com> | 2020-05-17 19:44:03 -0400 |
---|---|---|
committer | Bob Zeleznik <zzzman@gmail.com> | 2020-05-17 19:44:03 -0400 |
commit | 65243033448654c1efcec8c588128633a56d8409 (patch) | |
tree | 1d7606a94cad4e06efce8fcc310145598742d61b /src/client/util/SerializationHelper.ts | |
parent | 2882dfce48e434f0c0b6a5837fc6212cad1df131 (diff) | |
parent | 35b335eecd1ace5a1b3da04de3ee1e8674d10c15 (diff) |
Merge branch 'master' of https://github.com/browngraphicslab/Dash-Web
Diffstat (limited to 'src/client/util/SerializationHelper.ts')
-rw-r--r-- | src/client/util/SerializationHelper.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/util/SerializationHelper.ts b/src/client/util/SerializationHelper.ts index ad0309fa7..19b217726 100644 --- a/src/client/util/SerializationHelper.ts +++ b/src/client/util/SerializationHelper.ts @@ -91,7 +91,7 @@ export function Deserializable(constructor: { new(...args: any[]): any } | strin if (typeof constructor === "string") { return Object.assign((ctor: { new(...args: any[]): any }) => { addToMap(constructor, ctor); - }, { withFields: (fields: string[]) => Deserializable.withFields(fields, name, afterDeserialize) }); + }, { withFields: (fields: string[]) => Deserializable.withFields(fields, constructor, afterDeserialize) }); } addToMap(constructor.name, constructor); } |