From a74801c59cd453382ac177e85bbd51f20fbc2ad5 Mon Sep 17 00:00:00 2001 From: Shuaib Hasan Akib Date: Mon, 29 Jun 2026 22:14:42 +0600 Subject: [PATCH] fix(router): fix malformed jsdoc comment for RouterLinkWithHref export The export statement was incorrectly placed inside the JSDoc comment block, and there was a stray text fragment "nstead." from the deprecation message. This moves the export statement outside the comment and removes the stray text. --- packages/router/src/directives/router_link.ts | 2 -- 1 file changed, 2 deletions(-) diff --git a/packages/router/src/directives/router_link.ts b/packages/router/src/directives/router_link.ts index 72b7101be3f..bbaebce6897 100644 --- a/packages/router/src/directives/router_link.ts +++ b/packages/router/src/directives/router_link.ts @@ -587,8 +587,6 @@ export class RouterLink implements OnChanges, OnDestroy { * An alias for the `RouterLink` directive. * Deprecated since v15, use `RouterLink` directive instead. * -export { RouterLink as RouterLinkWithHref }; -nstead. * @publicApi */ export {RouterLink as RouterLinkWithHref};