diff --git a/apps/component-calling/src/utils/xsai-testing.ts b/apps/component-calling/src/utils/xsai-testing.ts index 7fbefa3f9..ea6dcedb6 100644 --- a/apps/component-calling/src/utils/xsai-testing.ts +++ b/apps/component-calling/src/utils/xsai-testing.ts @@ -1,7 +1,4 @@ -import type { streamText } from '@xsai/stream-text' - -type InferStreamType = T extends ReadableStream ? U : never -type StreamTextEvent = InferStreamType>['fullStream']> +import type { StreamTextEvent } from '@xsai/stream-text' export function mockStreamText(): { fullStream: ReadableStream