style: fix linting order and formatting
This commit is contained in:
@@ -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,
|
||||
|
||||
@@ -13,7 +13,10 @@ type QRCodeConstructor = new (
|
||||
};
|
||||
|
||||
const QRCode = QRCodeModule as unknown as QRCodeConstructor;
|
||||
const QRErrorCorrectLevel = QRErrorCorrectLevelModule as Record<string, unknown>;
|
||||
const QRErrorCorrectLevel = QRErrorCorrectLevelModule as Record<
|
||||
string,
|
||||
unknown
|
||||
>;
|
||||
|
||||
function createQrMatrix(input: string) {
|
||||
const qr = new QRCode(-1, QRErrorCorrectLevel.L);
|
||||
|
||||
Reference in New Issue
Block a user