fix(http): restructure exports so that we don't leak private factory functions (#11016)

Ref #10615
This commit is contained in:
Igor Minar
2016-08-23 16:34:57 -07:00
committed by Kara
parent c7a874dd2f
commit 7dfcaac730
4 changed files with 17 additions and 58 deletions

View File

@ -1,6 +1,3 @@
/** @experimental */
export declare function _createDefaultCookieXSRFStrategy(): CookieXSRFStrategy;
/** @experimental */
export declare class BaseRequestOptions extends RequestOptions {
constructor();
@ -71,9 +68,6 @@ export declare class Http {
request(url: string | Request, options?: RequestOptionsArgs): Observable<Response>;
}
/** @experimental */
export declare function httpFactory(xhrBackend: XHRBackend, requestOptions: RequestOptions): Http;
/** @experimental */
export declare class HttpModule {
}
@ -96,9 +90,6 @@ export declare abstract class JSONPConnection implements Connection {
abstract finished(data?: any): void;
}
/** @experimental */
export declare function jsonpFactory(jsonpBackend: JSONPBackend, requestOptions: RequestOptions): Jsonp;
/** @experimental */
export declare class JsonpModule {
}