File tree Expand file tree Collapse file tree 2 files changed +7
-4
lines changed Expand file tree Collapse file tree 2 files changed +7
-4
lines changed Original file line number Diff line number Diff line change @@ -41,8 +41,9 @@ export {
41
41
RequestCredentialsOpts ,
42
42
RequestCacheOpts ,
43
43
RequestModesOpts
44
- } from './src/enums' ;
45
- export { URLSearchParams } from './src/url_search_params' ;
44
+ } from './src/http/enums' ;
45
+ export { URLSearchParams } from './src/http/url_search_params' ;
46
+ export { EventEmitter , Observable } from './src/core/facade/async' ;
46
47
47
48
/**
48
49
* Provides a basic set of injectables to use the {@link Http} service in any application.
Original file line number Diff line number Diff line change @@ -42,7 +42,9 @@ export class Connection {
42
42
* Interface for options to construct a Request, based on
43
43
* [RequestInit](https://fetch.spec.whatwg.org/#requestinit) from the Fetch spec.
44
44
*/
45
- export type RequestOptionsArgs = {
45
+ // TODO(jeffbcross): Change to type declaration when #3828 is fixed
46
+ // https://github.com/angular/angular/issues/3828
47
+ export interface RequestOptionsArgs {
46
48
url ?: string ;
47
49
method ?: RequestMethods ;
48
50
search ?: string | URLSearchParams ;
@@ -58,7 +60,7 @@ export type RequestOptionsArgs = {
58
60
* Interface for options to construct a Response, based on
59
61
* [ResponseInit](https://fetch.spec.whatwg.org/#responseinit) from the Fetch spec.
60
62
*/
61
- export type ResponseOptionsArgs = {
63
+ export interface ResponseOptionsArgs {
62
64
// TODO: Support Blob, ArrayBuffer, JSON
63
65
body ?: string | Object | FormData ;
64
66
status ?: number ;
You can’t perform that action at this time.
0 commit comments