Skip to content

Commit c93a8bc

Browse files
authored
chore(ai): export AsyncIterableStream type from async-iterable-stream module (#7370)
## Background I am writing decorator functions for streamObject, and the function signature is using AsyncIterableStream, so I need to have it exported too. ## Summary export AsyncIterableStream type from async-iterable-stream module
1 parent cb94723 commit c93a8bc

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

‎.changeset/heavy-teachers-repeat.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'ai': patch
3+
---
4+
5+
chore(ai): export AsyncIterableStream type from async-iterable-stream module

‎packages/ai/src/util/index.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
export type { AsyncIterableStream } from './async-iterable-stream';
12
export { cosineSimilarity } from './cosine-similarity';
23
export { getTextFromDataUrl } from './data-url';
34
export type { DeepPartial } from './deep-partial';

0 commit comments

Comments
 (0)