fix(router): make router links work on non-a tags

This commit is contained in:
vsavkin
2016-06-28 16:47:13 -07:00
parent 810c722413
commit 8c45aebc18
5 changed files with 103 additions and 15 deletions

View File

@ -123,7 +123,7 @@ export declare class Router {
}
/** @experimental */
export declare const ROUTER_DIRECTIVES: (typeof RouterOutlet | typeof RouterLink | typeof RouterLinkActive)[];
export declare const ROUTER_DIRECTIVES: (typeof RouterOutlet | typeof RouterLink | typeof RouterLinkWithHref | typeof RouterLinkActive)[];
/** @stable */
export declare type RouterConfig = Route[];