chore: cleanup code

This commit is contained in:
Neko Ayaka
2025-08-02 01:07:34 +08:00
parent a095ee62f1
commit d7c681f48e
@@ -1,7 +1,4 @@
import type { streamText } from '@xsai/stream-text'
type InferStreamType<T> = T extends ReadableStream<infer U> ? U : never
type StreamTextEvent = InferStreamType<Awaited<ReturnType<typeof streamText>>['fullStream']>
import type { StreamTextEvent } from '@xsai/stream-text'
export function mockStreamText(): {
fullStream: ReadableStream<StreamTextEvent>