build(npm): update to typescript@1.7.3 + fix broccoli-typescript + fix src

This commit is contained in:
Igor Minar
2015-12-09 13:42:36 -08:00
committed by Igor Minar
parent 796eee1e6f
commit 51cb7586e0
9 changed files with 21 additions and 20 deletions

View File

@ -116,7 +116,7 @@ export class Router {
* otherwise `false`.
*/
isRouteActive(instruction: Instruction): boolean {
var router = this;
var router: Router = this;
while (isPresent(router.parent) && isPresent(instruction.child)) {
router = router.parent;
instruction = instruction.child;
@ -382,7 +382,7 @@ export class Router {
private _getAncestorInstructions(): Instruction[] {
var ancestorComponents = [];
var ancestorRouter = this;
var ancestorRouter: Router = this;
while (isPresent(ancestorRouter.parent) &&
isPresent(ancestorRouter.parent._currentInstruction)) {
ancestorRouter = ancestorRouter.parent;