diff --git a/src/gateway/server.misc.test.ts b/src/gateway/server.misc.test.ts index 830928333..7e7129970 100644 --- a/src/gateway/server.misc.test.ts +++ b/src/gateway/server.misc.test.ts @@ -1,7 +1,7 @@ import { createServer } from "node:net"; import { describe, expect, test } from "vitest"; -import { GatewayLockError } from "../infra/gateway-lock.js"; import { resolveCanvasHostUrl } from "../infra/canvas-host-url.js"; +import { GatewayLockError } from "../infra/gateway-lock.js"; import { connectOk, getFreePort, diff --git a/src/web/qr-image.ts b/src/web/qr-image.ts index 14aa25244..88ca1e536 100644 --- a/src/web/qr-image.ts +++ b/src/web/qr-image.ts @@ -13,7 +13,10 @@ type QRCodeConstructor = new ( }; const QRCode = QRCodeModule as unknown as QRCodeConstructor; -const QRErrorCorrectLevel = QRErrorCorrectLevelModule as Record; +const QRErrorCorrectLevel = QRErrorCorrectLevelModule as Record< + string, + unknown +>; function createQrMatrix(input: string) { const qr = new QRCode(-1, QRErrorCorrectLevel.L);