chore: 同步 template 对 types 的修改

This commit is contained in:
unanmed 2025-10-15 18:20:32 +08:00
parent 741ba164e9
commit 4d016c4610
2 changed files with 6 additions and 6 deletions

View File

@ -278,7 +278,7 @@ interface AnimateFrame {
/**
* number为索引的回调函数列表
*/
readonly asyncId: Record<number, () => void>;
readonly asyncId: Record<number | symbol, () => void>;
/**
* id

View File

@ -759,14 +759,14 @@ interface Ui {
textImage(content: string, lineHeight?: number): HTMLCanvasElement;
/**
* @deprecated `getChoices` \
*
* @deprecated 使 `getChoices` \
* drawChoices
*/
drawChoices(
drawChoices2(
content: string,
choices: object[],
width?: number,
ctx?: CtxRefer
noRoute?: CtxRefer
): void;
/**
@ -777,7 +777,7 @@ interface Ui {
text: string,
yesCallback?: () => void,
noCallback?: () => void,
ctx?: CtxRefer
noRoute?: boolean
): void;
/**