From 7b3b275ad9a1b1409c56310c0b8ab286bef1f75f Mon Sep 17 00:00:00 2001 From: Nick Taylor Date: Wed, 17 Apr 2019 08:42:27 -0400 Subject: Enable strict-mode for TypeScript (#1783) Co-authored-by: Federico Brigante --- source/features/patch-diff-links.tsx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'source/features/patch-diff-links.tsx') diff --git a/source/features/patch-diff-links.tsx b/source/features/patch-diff-links.tsx index 76cca95b..a8b945eb 100644 --- a/source/features/patch-diff-links.tsx +++ b/source/features/patch-diff-links.tsx @@ -10,11 +10,11 @@ function init() { commitUrl = commitUrl.replace(/\/pull\/\d+\/commits/, '/commit'); } - select('.commit-meta > :last-child').append( - - patch + select('.commit-meta > :last-child')!.append( + + patch { ' ' /* Workaround for: JSX eats whitespace between elements */ } - diff + diff ); } -- cgit v1.2.3