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

@@ -580,7 +580,7 @@ async function runGatewayPrompt(prompt: string): Promise<PromptResult> {
try {
const url = `ws://127.0.0.1:${port}`;
await waitForGatewayReady(url, gatewayToken);
const agentRes = await callGateway<{ runId?: string }>({
const agentRes = await callGateway({
url,
token: gatewayToken,
method: "agent",
@@ -607,7 +607,7 @@ async function runGatewayPrompt(prompt: string): Promise<PromptResult> {
tmpDir,
};
}
const waitRes = await callGateway<{ status?: string; error?: string; payloads?: unknown[] }>({
const waitRes = await callGateway({
url,
token: gatewayToken,
method: "agent.wait",

View File

@@ -105,7 +105,7 @@ export function collectClawHubPublishablePluginPackages(
const publishable: PublishablePluginPackage[] = [];
const validationErrors: string[] = [];
for (const candidate of collectExtensionPackageJsonCandidates<PluginPackageJson>(rootDir)) {
for (const candidate of collectExtensionPackageJsonCandidates(rootDir)) {
const { extensionId, packageDir, packageJson } = candidate;
if (packageJson.openclaw?.release?.publishToClawHub !== true) {
continue;