node-angular-http-client
Version:
The Angular 4.3 HttpClient for node.js
11 lines (10 loc) • 423 B
TypeScript
import { HttpClient } from './src/common-http';
import { Provider } from 'injection-js';
import { Type } from 'injection-js/facade/type';
export declare const HTTP_CLIENT_PROVIDERS: Provider[];
export interface CreateHttpClientOptions {
interceptors?: Type<any>[];
}
export declare function createHttpClient(options?: CreateHttpClientOptions): HttpClient;
export * from './src/http';
export * from './src/common-http';