Fix project serialization not returning class

This commit is contained in:
Sam Nolan 2022-10-08 14:46:24 +11:00
parent de73a98735
commit 17cc2a42cc

View File

@ -120,9 +120,7 @@ export class SqProject {
return RSProject.toJson(this._value); return RSProject.toJson(this._value);
} }
static fromJson( static fromJson(projectJson: RSProject.reducerProjectJson): SqProject {
projectJson: RSProject.reducerProjectJson return new SqProject(RSProject.fromJson(projectJson));
): RSProject.reducerProject {
return RSProject.fromJson(projectJson);
} }
} }