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

This commit is contained in:
Art Lowel
2017-10-04 17:17:54 +02:00
parent 9d7f2500e4
commit 863cd964c1
2 changed files with 10 additions and 10 deletions

View File

@@ -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'
}
/**