1
0

Fixed lint errors and add lint fix script

This commit is contained in:
Giuseppe Digilio
2020-12-04 10:32:46 +01:00
parent 587affd064
commit 20b5721e3c
322 changed files with 759 additions and 752 deletions

View File

@@ -90,7 +90,7 @@ export class ObjectCacheService {
select(selfLinkFromUuidSelector(uuid)),
mergeMap((selfLink: string) => this.getObjectBySelfLink<T>(selfLink)
)
)
);
}
/**
@@ -118,7 +118,7 @@ export class ObjectCacheService {
if (typeof type !== 'function') {
throw new Error(`${type} is not a valid constructor for ${JSON.stringify(entry.data)}`);
}
return Object.assign(new type(), entry.data) as T
return Object.assign(new type(), entry.data) as T;
})
);
}