fix(core): update

This commit is contained in:
2019-07-04 17:04:24 +02:00
parent e3add99efe
commit e0e9ceed31
7 changed files with 158 additions and 65 deletions

View File

@@ -7,7 +7,7 @@ export class Smartjson {
static parse = JSON.parse;
static stringify = (objArg: any, optionsArg: plugins.stableJson.Options) => {
return plugins.stableJson(objArg, optionsArg)
return plugins.stableJson(objArg, optionsArg);
};
// ========
@@ -20,7 +20,7 @@ export class Smartjson {
* folds a class into an object
*/
foldToObject() {
let newFoldedObject: {[key: string]: any} = {};
let newFoldedObject: { [key: string]: any } = {};
for (let keyName of this.saveableProperties) {
newFoldedObject[keyName] = plugins.lodashCloneDeep(this[keyName]);
}