Skip to content

Commit 6fd9ff9

Browse files
committed
test(channels): fix helper typings
1 parent 7cb147b commit 6fd9ff9

2 files changed

Lines changed: 10 additions & 4 deletions

File tree

‎extensions/google-meet/index.test.ts‎

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -677,9 +677,15 @@ type TwilioSetupCredentials = {
677677
fromNumber: string;
678678
};
679679

680-
type SetupFullConfig = NonNullable<GoogleMeetSetupOptions["fullConfig"]>;
681-
type SetupPluginEntries = NonNullable<NonNullable<SetupFullConfig["plugins"]>["entries"]>;
682-
type TwilioVoiceCallEntry = SetupPluginEntries[string];
680+
type TwilioVoiceCallEntry = {
681+
enabled: boolean;
682+
config?: {
683+
provider?: string;
684+
publicUrl?: string;
685+
fromNumber?: string;
686+
twilio?: { accountSid?: string; authToken?: string };
687+
};
688+
};
683689

684690
async function runTwilioSetupStatus(params: {
685691
env?: TwilioSetupCredentials;

‎extensions/telegram/src/bot.test.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -229,7 +229,7 @@ function createTelegramPluginCallbackHandler(params: {
229229
registerPluginInteractiveHandler(params.pluginId ?? "codex-plugin", {
230230
channel: "telegram",
231231
namespace: params.namespace ?? "codexapp",
232-
handler: params.handler,
232+
handler: params.handler as never,
233233
});
234234
createTelegramBot({
235235
token: "tok",

0 commit comments

Comments
 (0)