<p dir="auto">Sample error when doing something along these lines...</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="export class LoggedInRouterOutlet extends RouterOutlet {
  publicRoutes: any
  constructor(public _elementRef: ElementRef, public _loader: DynamicComponentLoader,
              public _parentRouter: Router, @Attribute('name') nameAttr: string) {
      super(_elementRef, _loader, _parentRouter, nameAttr);"><pre class="notranslate"><code class="notranslate">export class LoggedInRouterOutlet extends RouterOutlet {
  publicRoutes: any
  constructor(public _elementRef: ElementRef, public _loader: DynamicComponentLoader,
              public _parentRouter: Router, @Attribute('name') nameAttr: string) {
      super(_elementRef, _loader, _parentRouter, nameAttr);
</code></pre></div>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="WARNING in ./src/app/LoggedInOutlet.ts
(13,7): Supplied parameters do not match any signature of call target."><pre class="notranslate"><code class="notranslate">WARNING in ./src/app/LoggedInOutlet.ts
(13,7): Supplied parameters do not match any signature of call target.
</code></pre></div>
<p dir="auto">When extending RouterOutlet, the generated type definition does not include the constructor signature, so compiling something like the above gives TypeScript Warnings.</p>
<p dir="auto">We need some sanity test for the router .d.ts file. The <code class="notranslate">gulp test.typings</code> target does this for the <code class="notranslate">angular2.d.ts</code>.<br>
I did not update router on DefinitelyTyped for alpha.32 because it fails the definitelyTyped tests, for example, the Instruction class is referenced but not defined.<br>
We can't release typings for router until this is fixed.</p>