build(npm): update to typescript@1.7.3 + fix broccoli-typescript + fix src
This commit is contained in:
@ -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;
|
||||
|
Reference in New Issue
Block a user