From 549ff6fd302fe97c7e175518102f30b544f9d01c Mon Sep 17 00:00:00 2001 From: Gabriel Mechali Date: Tue, 17 Dec 2024 11:49:35 -0500 Subject: [PATCH] One more type to remove --- static/js/chart/base.test.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/static/js/chart/base.test.ts b/static/js/chart/base.test.ts index 32684aa14b..23856f4f10 100644 --- a/static/js/chart/base.test.ts +++ b/static/js/chart/base.test.ts @@ -81,7 +81,7 @@ beforeEach(() => { // JSDom does not define SVGTSpanElements, and use SVGElement instead. Defines // a shim for getComputedTextLength where each character is 1 px wide. (window.SVGElement as any).prototype.getComputedTextLength = - function (): number { + function () { // Title elements don't contribute to width if (this.tagName === "title") { return 0;