fix(deps): update dependency @ai-sdk/react to v2 #1184
ci.yml
on: push
javascript-tests
47s
build-storybook
1m 6s
Annotations
10 errors
javascript-tests:
src/components/AiChat/AiChatContext.tsx#L108
Property 'content' does not exist on type 'UIMessage<unknown, UIDataTypes, UITools>'.
|
javascript-tests:
src/components/AiChat/AiChatContext.tsx#L108
Property 'content' does not exist on type 'UIMessage<unknown, UIDataTypes, UITools>'.
|
javascript-tests:
src/components/AiChat/AiChatContext.tsx#L95
Conversion of type '{ message: UIMessage<unknown, UIDataTypes, UITools>; }' to type 'AiChatMessage' may be a mistake because neither type sufficiently overlaps with the other. If this was intentional, convert the expression to 'unknown' first.
|
javascript-tests:
src/components/AiChat/AiChatContext.tsx#L94
Property 'role' does not exist on type '{ message: UIMessage<unknown, UIDataTypes, UITools>; }'.
|
javascript-tests:
src/components/AiChat/AiChatContext.tsx#L94
Property 'role' does not exist on type '{ message: UIMessage<unknown, UIDataTypes, UITools>; }'.
|
javascript-tests:
src/components/AiChat/AiChatContext.tsx#L89
Object literal may only specify known properties, and 'api' does not exist in type 'UseChatOptions<UIMessage<unknown, UIDataTypes, UITools>>'.
|
javascript-tests:
src/components/AiChat/AiChatContext.tsx#L49
Generic type 'UseChatHelpers' requires 1 type argument(s).
|
javascript-tests:
src/components/AiChat/AiChat.tsx#L397
Parameter 'i' implicitly has an 'any' type.
|
javascript-tests:
src/components/AiChat/AiChat.tsx#L295
Parameter 'm' implicitly has an 'any' type.
|
javascript-tests:
src/components/AiChat/AiChat.tsx#L18
'"@ai-sdk/react"' has no exported member named 'Message'. Did you mean 'UIMessage'?
|