docs(router): add api docs
This commit is contained in:
@ -3,6 +3,7 @@ import {isBlank, isPresent, isString, isStringMap} from './facade/lang';
|
||||
import {BaseException} from './facade/exceptions';
|
||||
import {ListWrapper} from './facade/collection';
|
||||
|
||||
// TODO: vsavkin: should reuse segments
|
||||
export function link(segment: RouteSegment, routeTree: RouteTree, urlTree: UrlTree, commands: any[]): UrlTree {
|
||||
if (commands.length === 0) return urlTree;
|
||||
|
||||
|
Reference in New Issue
Block a user