Enable more oxlint typescript rules

This commit is contained in:
Jamie
2026-04-02 22:40:59 -07:00
committed by GitHub
parent 24a663738c
commit d9389fe67d
294 changed files with 1516 additions and 1249 deletions
+2 -1
View File
@@ -12,7 +12,7 @@ import { consoleLogger } from '../util/consoleLogger.std.ts';
import { strictAssert } from '../util/assert.std.ts';
class SQLLogger {
#msgPrefix: string;
readonly #msgPrefix: string;
constructor(msgPrefix: string) {
this.#msgPrefix = msgPrefix;
@@ -47,6 +47,7 @@ class SQLLogger {
const wrappedResponse: WrappedWorkerResponse = {
type: 'log',
level,
// oxlint-disable-next-line typescript/restrict-plus-operands
args: ([this.#msgPrefix + fmt] as Array<unknown>).concat(rest),
};
parentPort.postMessage(wrappedResponse);