chore: Fix TypeScript errors 2/n.

This commit is contained in:
cpojer
2026-01-31 16:42:40 +09:00
parent e5eb9610dc
commit 952b0f8c48
8 changed files with 21 additions and 19 deletions

View File

@@ -2,6 +2,7 @@ import { getChannelPlugin, normalizeChannelId } from "../../channels/plugins/ind
import { callGateway } from "../../gateway/call.js";
import type { AnnounceTarget } from "./sessions-send-helpers.js";
import { resolveAnnounceTargetFromKey } from "./sessions-send-helpers.js";
import { SessionListRow } from "./sessions-helpers.js";
export async function resolveAnnounceTarget(params: {
sessionKey: string;
@@ -20,7 +21,7 @@ export async function resolveAnnounceTarget(params: {
}
try {
const list = await callGateway({
const list = await callGateway<{ sessions: Array<SessionListRow> }>({
method: "sessions.list",
params: {
includeGlobal: true,