From 8d0393542bd712d7bb7f93874118dedd07b62c7b Mon Sep 17 00:00:00 2001
From: Federico Brigante <github@bfred.it>
Date: Sat, 31 Aug 2019 01:26:28 +0700
Subject: Update dependencies and lint (#2391)

---
 source/features/link-to-file-in-file-history.tsx | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

(limited to 'source/features/link-to-file-in-file-history.tsx')

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);
 	}
-- 
cgit v1.2.3

