mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-08 10:34:15 +00:00
resolved lint errors
This commit is contained in:
@@ -10,7 +10,6 @@ const relationshipKey = Symbol('relationship');
|
|||||||
const relationshipMap = new Map();
|
const relationshipMap = new Map();
|
||||||
const typeMap = new Map();
|
const typeMap = new Map();
|
||||||
|
|
||||||
|
|
||||||
export function mapsTo(value: GenericConstructor<TypedObject>) {
|
export function mapsTo(value: GenericConstructor<TypedObject>) {
|
||||||
return function decorator(objectConstructor: GenericConstructor<TypedObject>) {
|
return function decorator(objectConstructor: GenericConstructor<TypedObject>) {
|
||||||
Reflect.defineMetadata(mapsToMetadataKey, value, objectConstructor);
|
Reflect.defineMetadata(mapsToMetadataKey, value, objectConstructor);
|
||||||
|
2
src/app/core/cache/object-cache.reducer.ts
vendored
2
src/app/core/cache/object-cache.reducer.ts
vendored
@@ -36,6 +36,7 @@ export abstract class TypedObject {
|
|||||||
static type: ResourceType;
|
static type: ResourceType;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* tslint:disable:max-classes-per-file */
|
||||||
/**
|
/**
|
||||||
* An interface to represent objects that can be cached
|
* An interface to represent objects that can be cached
|
||||||
*
|
*
|
||||||
@@ -62,6 +63,7 @@ export class ObjectCacheEntry implements CacheEntry {
|
|||||||
patches: Patch[] = [];
|
patches: Patch[] = [];
|
||||||
isDirty: boolean;
|
isDirty: boolean;
|
||||||
}
|
}
|
||||||
|
/* tslint:enable:max-classes-per-file */
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* The ObjectCache State
|
* The ObjectCache State
|
||||||
|
Reference in New Issue
Block a user