mirror of
https://github.com/openclaw/openclaw.git
synced 2026-04-20 21:51:28 +00:00
chore: enable no-unnecessary-type-arguments
This commit is contained in:
@@ -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",
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user