refactor(http): rename enums to be singular
ReadyStates -> ReadyState RequestMethods -> RequestMethod ResponseTypes -> ResponseType Fixes #5574 BREAKING CHANGE: Before import {ReadyStates, RequestMethods, ResponseTypes} from 'angular2/http'; After import {ReadyState, RequestMethod, ResponseType} from 'angular2/http'; Closes #5584
This commit is contained in:
committed by
Cédric Exbrayat
parent
654496b315
commit
b925ff5b8d
@@ -32,7 +32,7 @@ export {Http, Jsonp} from './src/http/http';
|
||||
|
||||
export {Headers} from './src/http/headers';
|
||||
|
||||
export {ResponseTypes, ReadyStates, RequestMethods} from './src/http/enums';
|
||||
export {ResponseType, ReadyState, RequestMethod} from './src/http/enums';
|
||||
export {URLSearchParams} from './src/http/url_search_params';
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user