chore: Emit TypeScript declaration files so that we can type-check the extensions folder soon.

This commit is contained in:
cpojer
2026-01-31 21:57:21 +09:00
parent 1838ab019b
commit 59cfff02f6
7 changed files with 27 additions and 11 deletions

View File

@@ -418,7 +418,7 @@ export function createDiscordNativeCommand(params: {
accountId: string;
sessionPrefix: string;
ephemeralDefault: boolean;
}) {
}): Command {
const { command, cfg, discordConfig, accountId, sessionPrefix, ephemeralDefault } = params;
const commandDefinition =
findCommandByNativeName(command.name, "discord") ??
@@ -449,6 +449,7 @@ export function createDiscordNativeCommand(params: {
},
] satisfies CommandOptions)
: undefined;
return new (class extends Command {
name = command.name;
description = command.description;