From d7c681f48ee220963894e38a85612d0728006a0f Mon Sep 17 00:00:00 2001 From: Neko Ayaka Date: Sat, 2 Aug 2025 01:07:34 +0800 Subject: [PATCH] chore: cleanup code --- apps/component-calling/src/utils/xsai-testing.ts | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) 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