cleanup(router): add @internal to constructors where needed

This commit is contained in:
vsavkin
2016-06-02 15:18:34 -07:00
parent ab958598d7
commit f04b6978fb
4 changed files with 27 additions and 4 deletions

View File

@ -10,12 +10,18 @@ export function createEmptyUrlTree() {
* A URL in the tree form.
*/
export class UrlTree extends Tree<UrlSegment> {
/**
* @internal
*/
constructor(root: TreeNode<UrlSegment>, public queryParameters: {[key: string]: string}, public fragment: string | null) {
super(root);
}
}
export class UrlSegment {
/**
* @internal
*/
constructor(public path: string, public parameters: {[key: string]: string}, public outlet: string) {}
toString() {