diff --git a/src/app/core/data/remote-data.ts b/src/app/core/data/remote-data.ts index b9f58a5567..e3c7a17ef8 100644 --- a/src/app/core/data/remote-data.ts +++ b/src/app/core/data/remote-data.ts @@ -3,10 +3,10 @@ import { Observable } from 'rxjs/Observable'; import { PageInfo } from '../shared/page-info.model'; export enum RemoteDataState { - RequestPending = 'RequestPending' as any, - ResponsePending = 'ResponsePending' as any, - Failed = 'Failed' as any, - Success = 'Success' as any + RequestPending = 'RequestPending', + ResponsePending = 'ResponsePending', + Failed = 'Failed', + Success = 'Success' } /** diff --git a/src/app/core/shared/resource-type.ts b/src/app/core/shared/resource-type.ts index 15e707b016..f3554e18cf 100644 --- a/src/app/core/shared/resource-type.ts +++ b/src/app/core/shared/resource-type.ts @@ -3,10 +3,10 @@ * https://github.com/Microsoft/TypeScript/pull/15486 */ export enum ResourceType { - Bundle = 'bundle' as any, - Bitstream = 'bitstream' as any, - BitstreamFormat = 'bitstreamformat' as any, - Item = 'item' as any, - Collection = 'collection' as any, - Community = 'community' as any, + Bundle = 'bundle', + Bitstream = 'bitstream', + BitstreamFormat = 'bitstreamformat', + Item = 'item', + Collection = 'collection', + Community = 'community', }