From dc00f791a289192a78db66ff294b9bf92b9fdecb Mon Sep 17 00:00:00 2001 From: "Joshua A. Horton" Date: Thu, 6 Jun 2024 09:25:22 +0700 Subject: [PATCH] fix(web): declares variable This was originally developed before the TS-strictness PR set. The variable was originally declared but unused at the time, and it was purged then as a result. --- web/src/engine/dom-utils/src/stylesheets.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/src/engine/dom-utils/src/stylesheets.ts b/web/src/engine/dom-utils/src/stylesheets.ts index 676db32a30..7312a62f05 100644 --- a/web/src/engine/dom-utils/src/stylesheets.ts +++ b/web/src/engine/dom-utils/src/stylesheets.ts @@ -91,7 +91,7 @@ export class StylesheetManager { const fontKey = fd.family; let source: string; - let i, ttf='', woff='', fList=[]; + let i, ttf='', woff='', fList=[], data=''; // TODO: 22 Aug 2014: check that font path passed from cloud is actually used!