Skip to content
Snippets Groups Projects
Commit 863cd964 authored by Art Lowel's avatar Art Lowel
Browse files

Cast to any is no longer necessary, string enums are supported as of typescript 2.4

parent 9d7f2500
No related branches found
No related tags found
No related merge requests found
......@@ -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'
}
/**
......
......@@ -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',
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment