From 4c4be945fa3f54036183e2d0877060db47ea564b Mon Sep 17 00:00:00 2001 From: Stainless Bot <107565488+stainless-bot@users.noreply.github.com> Date: Tue, 23 Jan 2024 20:37:56 +0100 Subject: [PATCH] chore(internal): don't re-export streaming type (#648) exporting it breaks cloudflare types --- src/streaming.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/streaming.ts b/src/streaming.ts index 3ad11fb54..7d8b4442a 100644 --- a/src/streaming.ts +++ b/src/streaming.ts @@ -3,7 +3,7 @@ import { OpenAIError } from './error'; import { APIError } from 'openai/error'; -export type Bytes = string | ArrayBuffer | Uint8Array | Buffer | null | undefined; +type Bytes = string | ArrayBuffer | Uint8Array | Buffer | null | undefined; export type ServerSentEvent = { event: string | null;