Skip to content

Commit

Permalink
chore: fix example in readme
Browse files Browse the repository at this point in the history
  • Loading branch information
jeasonstudio committed Jul 15, 2024
1 parent a3235b2 commit b469482
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ const { textStream } = await streamText({

let result = '';
for await (const textPart of textStream) {
result = textPart;
result += textPart;
}

console.log(result);
Expand Down

0 comments on commit b469482

Please sign in to comment.