Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/pages/api-reference/liveblocks-client.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -874,7 +874,7 @@ const myTool = defineAiTool()({
<Banner>

Note that the function should be called like this `defineAiTool()({ ... })`
(double-parens). This allows TypeScript鈥檚 inference to work correctly.
(double-parens). This allows TypeScript鈥檚 inference to work correctly. For the best type inference experience, TypeScript 5.3 or higher is recommended. While Liveblocks supports TypeScript 5.0+, full type inference for `defineAiTool()` requires TypeScript 5.3+.

</Banner>

Expand Down
Loading