fix(http): expose jsonpFactory for AoT compilation (#10730)
This commit is contained in:
@ -334,7 +334,10 @@ export const JSONP_PROVIDERS: any[] = [
|
||||
{provide: JSONPBackend, useClass: JSONPBackend_},
|
||||
];
|
||||
|
||||
function jsonpFactory(jsonpBackend: JSONPBackend, requestOptions: RequestOptions) {
|
||||
/**
|
||||
* @experimental
|
||||
*/
|
||||
export function jsonpFactory(jsonpBackend: JSONPBackend, requestOptions: RequestOptions): Jsonp {
|
||||
return new Jsonp(jsonpBackend, requestOptions);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user