feat(core): Throw a descriptive error when BrowserModule is installed a second time (via lazy loading). (#10899)

Such a configuration is unsupported and causes all kinds of problems.
This commit is contained in:
Alex Rickabaugh
2016-08-18 13:34:28 -07:00
committed by Kara
parent 91980382e8
commit 628d06c17c
3 changed files with 26 additions and 2 deletions

View File

@ -12,6 +12,7 @@ export declare const BROWSER_SANITIZATION_PROVIDERS: Array<any>;
/** @experimental */
export declare class BrowserModule {
constructor(parentModule: BrowserModule);
}
/** @stable */