From 4e2ab0cbc81e4963409ded6efaa29aed83a13fd6 Mon Sep 17 00:00:00 2001 From: "Joshua A. Horton" Date: Thu, 16 May 2024 14:00:03 +0700 Subject: [PATCH] chore(web): cleans up web's tool projects --- web/src/tools/testing/bulk_rendering/renderer_core.ts | 2 +- web/src/tools/testing/recorder/scribe.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/web/src/tools/testing/bulk_rendering/renderer_core.ts b/web/src/tools/testing/bulk_rendering/renderer_core.ts index a45e1338d00..793ddea48af 100644 --- a/web/src/tools/testing/bulk_rendering/renderer_core.ts +++ b/web/src/tools/testing/bulk_rendering/renderer_core.ts @@ -42,7 +42,7 @@ export class BatchRenderer { video.srcObject = captureStream; video.play(); - const result = await new Promise((resolve, reject) => { + await new Promise((resolve, reject) => { video.onloadedmetadata = function () { resolve(); } diff --git a/web/src/tools/testing/recorder/scribe.ts b/web/src/tools/testing/recorder/scribe.ts index 00360b805f1..371afadeefe 100644 --- a/web/src/tools/testing/recorder/scribe.ts +++ b/web/src/tools/testing/recorder/scribe.ts @@ -1,7 +1,7 @@ import { EventEmitter } from "eventemitter3"; -import type { KeyEvent, KeyboardAPIPropertyMultilangSpec, LanguageAPIPropertySpec } from "@keymanapp/keyboard-processor"; +import type { KeyEvent } from "@keymanapp/keyboard-processor"; import { Constraint,