From b8512379405636df8b5db3f42b190042071ff343 Mon Sep 17 00:00:00 2001 From: Benjamin Staneck Date: Wed, 17 Mar 2021 21:09:06 +0100 Subject: [PATCH] Fix lint (#2460) This assertion is unnecessary since the receiver accepts the original type of the expression @typescript-eslint/no-unnecessary-type-assertion --- src/assets/javascripts/integrations/instant/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/assets/javascripts/integrations/instant/index.ts b/src/assets/javascripts/integrations/instant/index.ts index 25f5ac3c5..822021b88 100644 --- a/src/assets/javascripts/integrations/instant/index.ts +++ b/src/assets/javascripts/integrations/instant/index.ts @@ -316,7 +316,7 @@ export function setupInstantLoading( /* Complete immediately */ } else { - script.textContent = el.textContent! + script.textContent = el.textContent replaceElement(el, script) return EMPTY }