diff --git a/src/types/declaration/core.d.ts b/src/types/declaration/core.d.ts index a5e1bd8..1e809bf 100644 --- a/src/types/declaration/core.d.ts +++ b/src/types/declaration/core.d.ts @@ -278,7 +278,7 @@ interface AnimateFrame { /** * 异步信息,想不到吧,这玩意是一个以number为索引的回调函数列表 */ - readonly asyncId: Record void>; + readonly asyncId: Record void>; /** * 上一个异步事件的id diff --git a/src/types/declaration/ui.d.ts b/src/types/declaration/ui.d.ts index 0a8f30c..1b1b845 100644 --- a/src/types/declaration/ui.d.ts +++ b/src/types/declaration/ui.d.ts @@ -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; /**