This repository was archived by the owner on Dec 4, 2017. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +7
-7
lines changed
public/docs/_examples/ngmodule/ts/app/core Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change 33// #docregion
44// #docregion v4
55import {
6- BaseException , ModuleWithProviders ,
7- NgModule , Optional , SkipSelf } from '@angular/core' ;
6+ ModuleWithProviders , NgModule ,
7+ Optional , SkipSelf } from '@angular/core' ;
88
9- import { CommonModule } from '@angular/common' ;
9+ import { CommonModule } from '@angular/common' ;
1010
11- import { TitleComponent } from './title.component' ;
12- import { UserService } from './user.service' ;
11+ import { TitleComponent } from './title.component' ;
12+ import { UserService } from './user.service' ;
1313// #enddocregion
14- import { UserServiceConfig } from './user.service' ;
14+ import { UserServiceConfig } from './user.service' ;
1515
1616// #docregion v4
1717@NgModule ( {
@@ -26,7 +26,7 @@ export class CoreModule {
2626 // #docregion ctor
2727 constructor ( @Optional ( ) @SkipSelf ( ) parentModule : CoreModule ) {
2828 if ( parentModule ) {
29- throw new BaseException (
29+ throw new Error (
3030 'CoreModule is already loaded. Import it in the AppModule only' ) ;
3131 }
3232 }
You can’t perform that action at this time.
0 commit comments