Skip to content

Commit

Permalink
fix: slow types
Browse files Browse the repository at this point in the history
  • Loading branch information
0xcadams committed Nov 8, 2023
1 parent 24a1380 commit 9b975f8
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/warm-llamas-float.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"hopfield": patch
---

**Fix**: attempt to fix slow types.
2 changes: 1 addition & 1 deletion src/function.ts
Original file line number Diff line number Diff line change
Expand Up @@ -267,7 +267,7 @@ export abstract class BaseHopfieldFunction<
parameters: zodToJsonSchema(this.parameters as any, {
$refStrategy: 'none',
onParseDef,
}),
}) as object,
} as const;
}

Expand Down

1 comment on commit 9b975f8

@vercel
Copy link

@vercel vercel bot commented on 9b975f8 Nov 8, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.