1
0

fix frontend lint errors

This commit is contained in:
Hazelnoot
2025-04-02 10:57:35 -04:00
parent 33b9f998da
commit 74d301dcf1
13 changed files with 54 additions and 41 deletions
+5 -4
View File
@@ -3,10 +3,10 @@
* SPDX-License-Identifier: AGPL-3.0-only
*/
import { registerAsUiLib } from '@/aiscript/ui.js';
import { errors, Interpreter, Parser, values } from '@syuilo/aiscript';
import { describe, expect, test } from 'vitest';
import { type Ref, ref } from 'vue';
import { ref } from 'vue';
import type { Ref } from 'vue';
import type {
AsUiButton,
AsUiButtons,
@@ -20,6 +20,7 @@ import type {
AsUiTextarea,
AsUiTextInput,
} from '@/aiscript/ui.js';
import { registerAsUiLib } from '@/aiscript/ui.js';
type ExeResult = {
root: AsUiRoot;
@@ -39,8 +40,8 @@ async function exe(script: string): Promise<ExeResult> {
{
out: (value) => {
outputs.push(value);
}
}
},
},
);
const ast = Parser.parse(script);
await interpreter.exec(ast);