forked from hazza/dspace-angular
Fixed lint errors and add lint fix script
This commit is contained in:
@@ -181,7 +181,7 @@ export class DSpaceObject extends ListableObject implements CacheableObject {
|
||||
/**
|
||||
* Method that returns as which type of object this object should be rendered
|
||||
*/
|
||||
getRenderTypes(): Array<string | GenericConstructor<ListableObject>> {
|
||||
getRenderTypes(): (string | GenericConstructor<ListableObject>)[] {
|
||||
return [this.constructor as GenericConstructor<ListableObject>];
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user