summaryrefslogtreecommitdiff
path: root/source/features/link-to-file-in-file-history.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'source/features/link-to-file-in-file-history.tsx')
-rw-r--r--source/features/link-to-file-in-file-history.tsx3
1 files changed, 1 insertions, 2 deletions
diff --git a/source/features/link-to-file-in-file-history.tsx b/source/features/link-to-file-in-file-history.tsx
index 69591b1d..e754a40d 100644
--- a/source/features/link-to-file-in-file-history.tsx
+++ b/source/features/link-to-file-in-file-history.tsx
@@ -25,8 +25,7 @@ function init(): void | false {
</a>
);
- // TODO: drop `as` after https://github.com/Microsoft/TSJS-lib-generator/pull/697
- (rootLink.closest('.commit-links-cell') as HTMLElement).style.width = 'auto';
+ rootLink.closest<HTMLElement>('.commit-links-cell')!.style.width = 'auto';
groupSiblings(rootLink);
}