cleanup(router): enable noImplicitAny and noImplicntReturns

This commit is contained in:
vsavkin
2016-06-15 16:45:19 -07:00
parent cdbf67ee05
commit 4450e7b246
15 changed files with 154 additions and 133 deletions

View File

@ -56,7 +56,7 @@ function advanceNode(node: TreeNode<ActivatedRoute>): void {
}
function createState(config: RouterConfig, url: string): RouterStateSnapshot {
let res;
let res: RouterStateSnapshot;
recognize(RootComponent, config, tree(url), url).forEach(s => res = s);
return res;
}