-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy pathindex.ts
More file actions
26 lines (23 loc) · 711 Bytes
/
index.ts
File metadata and controls
26 lines (23 loc) · 711 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
import { NgModule, ModuleWithProviders } from '@angular/core';
import { HttpClientModule } from '@angular/common/http';
import { CoolHttp } from './src/cool-http.service';
export * from './src/cookie-store.service';
export * from './src/cool-http.service';
export * from './src/http-header.model';
export * from './src/http-error.model';
export * from './src/request-interceptor.interface';
export * from './src/response-interceptor.interface';
@NgModule({
exports: [],
imports: [HttpClientModule],
providers: [CoolHttp]
})
export class CoolHttpModule {
/** @deprecated */
public static forRoot(): ModuleWithProviders {
return {
ngModule: CoolHttpModule,
providers: []
};
}
}