mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-06 17:20:45 +00:00
chore(lint): enable unnecessary type parameter rule
This commit is contained in:
@@ -23,6 +23,7 @@ const previousMatrixEnv = Object.fromEntries(
|
||||
MATRIX_ENV_KEYS.map((key) => [key, process.env[key]]),
|
||||
) as Record<(typeof MATRIX_ENV_KEYS)[number], string | undefined>;
|
||||
|
||||
// oxlint-disable-next-line typescript/no-unnecessary-type-parameters -- Test helper lets callers ascribe plugin runtime shape.
|
||||
function createNonExitingTypedRuntimeEnv<TRuntime>(): TRuntime {
|
||||
return {
|
||||
log: vi.fn(),
|
||||
|
||||
Reference in New Issue
Block a user