mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-15 14:03:06 +00:00
Cast to any is no longer necessary, string enums are supported as of typescript 2.4
This commit is contained in:
@@ -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'
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user