Skip to content

Commit b851237

Browse files
authored
Fix lint (#2460)
This assertion is unnecessary since the receiver accepts the original type of the expression @typescript-eslint/no-unnecessary-type-assertion
1 parent 9895a9a commit b851237

File tree

1 file changed

+1
-1
lines changed
  • src/assets/javascripts/integrations/instant

1 file changed

+1
-1
lines changed

src/assets/javascripts/integrations/instant/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -316,7 +316,7 @@ export function setupInstantLoading(
316316

317317
/* Complete immediately */
318318
} else {
319-
script.textContent = el.textContent!
319+
script.textContent = el.textContent
320320
replaceElement(el, script)
321321
return EMPTY
322322
}

0 commit comments

Comments
 (0)