change name export module userinfo (#2334)

This commit is contained in:
Eugenio Romano
2017-09-13 20:24:02 +01:00
committed by Popovics András
parent 16fd68fad3
commit 54d575ff52
2 changed files with 15 additions and 2 deletions

View File

@@ -59,6 +59,19 @@ export const USER_INFO_PROVIDERS: any[] = [
...USER_INFO_DIRECTIVES
]
})
export class UserInfoModule {
static forRoot(): ModuleWithProviders {
return {
ngModule: UserInfoModule,
providers: [
...USER_INFO_PROVIDERS
]
};
}
}
/** @deprecated in 1.9.0 */
export class UserInfoComponentModule {
static forRoot(): ModuleWithProviders {
return {