chore: enable no-unnecessary-type-arguments

This commit is contained in:
Peter Steinberger
2026-04-10 20:12:12 +01:00
parent 2786ed0f67
commit 04c8026d03
39 changed files with 90 additions and 140 deletions

View File

@@ -14,10 +14,6 @@ import { GATEWAY_CLIENT_MODES, GATEWAY_CLIENT_NAMES } from "../../src/utils/mess
export { extractFirstTextBlock };
type NodeListPayload = {
nodes?: Array<{ nodeId?: string; connected?: boolean; paired?: boolean }>;
};
export type ChatEventPayload = {
runId?: string;
sessionKey?: string;
@@ -348,7 +344,7 @@ export async function waitForNodeStatus(
);
try {
while (Date.now() < deadline) {
const list = await client.request<NodeListPayload>("node.list", {});
const list = await client.request("node.list", {});
const match = list.nodes?.find((n) => n.nodeId === nodeId);
if (match?.connected && match?.paired) {
return;