Skip to content

Commit 3684ab6

Browse files
committed
Fix lint
1 parent dfa9fb8 commit 3684ab6

File tree

1 file changed

+2
-1
lines changed
  • typescript/packages/toolshed/routes/ai/spell/behavior

1 file changed

+2
-1
lines changed

typescript/packages/toolshed/routes/ai/spell/behavior/effects.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ export async function generateText(
99
) {
1010
const res = await client.api.ai.llm.$post({ json: query });
1111
// cheating
12+
// deno-lint-ignore no-explicit-any
1213
const data = (await res.json() as any) as {
1314
role: "assistant";
1415
content: string;
@@ -28,7 +29,7 @@ export async function getAllBlobs(): Promise<string[]> {
2829

2930
export async function getBlob(key: string): Promise<unknown> {
3031
const res = await client.api.storage.blobby[":key"].$get({ param: { key } });
31-
const data = await res.json() as any;
32+
const data = await res.json() as unknown;
3233

3334
if ("error" in data) {
3435
throw new Error(data.error);

0 commit comments

Comments
 (0)