diff options
| author | syuilo <4439005+syuilo@users.noreply.github.com> | 2025-11-09 19:43:19 +0900 |
|---|---|---|
| committer | syuilo <4439005+syuilo@users.noreply.github.com> | 2025-11-09 19:43:19 +0900 |
| commit | a0d34940ff91688241f76cfd210ea88bbc68976d (patch) | |
| tree | 22d6329e67f03bb8b7afd8bcb3ce376107052a2f /packages/frontend/src/pages | |
| parent | 🎨 (diff) | |
| download | misskey-a0d34940ff91688241f76cfd210ea88bbc68976d.tar.gz misskey-a0d34940ff91688241f76cfd210ea88bbc68976d.tar.bz2 misskey-a0d34940ff91688241f76cfd210ea88bbc68976d.zip | |
fix type
Diffstat (limited to 'packages/frontend/src/pages')
| -rw-r--r-- | packages/frontend/src/pages/scratchpad.vue | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/packages/frontend/src/pages/scratchpad.vue b/packages/frontend/src/pages/scratchpad.vue index d73363d058..4e02556c83 100644 --- a/packages/frontend/src/pages/scratchpad.vue +++ b/packages/frontend/src/pages/scratchpad.vue @@ -60,6 +60,7 @@ import { Interpreter, Parser, utils } from '@syuilo/aiscript'; import type { Ref } from 'vue'; import type { AsUiComponent } from '@/aiscript/ui.js'; import type { AsUiRoot } from '@/aiscript/ui.js'; +import type { Value } from '@syuilo/aiscript/interpreter/value.js'; import MkContainer from '@/components/MkContainer.vue'; import MkButton from '@/components/MkButton.vue'; import MkTextarea from '@/components/MkTextarea.vue'; @@ -141,7 +142,7 @@ async function run() { switch (type) { case 'end': logs.value.push({ id: Math.random(), - text: utils.valToString(params.val, true), + text: utils.valToString(params.val as Value, true), print: false, }); break; default: break; |