chore: Oops, "long" is actually used + fix TypeScript error.

This commit is contained in:
cpojer
2026-01-31 17:12:28 +09:00
parent 88fe4de151
commit 86d38c2d82
3 changed files with 19 additions and 5 deletions

View File

@@ -125,7 +125,7 @@ export async function sendMessageIMessage(
const client = opts.client ?? (await createIMessageRpcClient({ cliPath, dbPath }));
const shouldClose = !opts.client;
try {
const result = await client.request("send", params, {
const result = await client.request<{ ok?: string }>("send", params, {
timeoutMs: opts.timeoutMs,
});
const resolvedId = resolveMessageId(result);