1
0
mirror of https://github.com/misskey-dev/misskey.git synced 2026-05-14 14:35:38 +02:00
This commit is contained in:
syuilo
2025-11-09 19:43:19 +09:00
parent bdddd623b6
commit a0d34940ff
2 changed files with 4 additions and 2 deletions

View File

@@ -24,6 +24,7 @@ import { Interpreter, Parser, utils } from '@syuilo/aiscript';
import { useWidgetPropsManager } from './widget.js';
import type { WidgetComponentEmits, WidgetComponentExpose, WidgetComponentProps } from './widget.js';
import type { FormWithDefault, GetFormResultType } from '@/utility/form.js';
import type { Value } from '@syuilo/aiscript/interpreter/value.js';
import * as os from '@/os.js';
import MkContainer from '@/components/MkContainer.vue';
import { aiScriptReadline, createAiScriptEnv } from '@/aiscript/api.js';
@@ -83,7 +84,7 @@ const run = async () => {
switch (type) {
case 'end': logs.value.push({
id: genId(),
text: utils.valToString(params.val, true),
text: utils.valToString(params.val as Value, true),
print: false,
}); break;
default: break;