fix(router): RouterOutlet loads component twice in a race condition

Closes #7497

Closes #7545
This commit is contained in:
Misko Hevery
2016-03-10 20:42:32 -08:00
committed by Miško Hevery
parent d61aaac400
commit 2f581ffc88
3 changed files with 37 additions and 27 deletions

View File

@ -106,7 +106,7 @@ const CORE = [
'ComponentMetadata.viewProviders:any[]',
'ComponentRef',
'ComponentRef.componentType:Type',
'ComponentRef.dispose():any',
'ComponentRef.dispose():void',
'ComponentRef.hostComponent:any',
'ComponentRef.hostView:HostViewRef',
'ComponentRef.injector:Injector',