Skip to content

Commit 12c09f6

Browse files
committed
fix readme:
1 parent a63056f commit 12c09f6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ import JsonParser from 'json-stream';
2020

2121
const queue = new Queue<string>();
2222
// Make sure to keep every property optional since you never know when they'll be populated.
23-
const parser = new JsonParser<{name?: string; description?: string}>(queue);
23+
const jsonStream = new JsonParser<{name?: string; description?: string}>(queue);
2424

2525
const res = await axios.get('streaming-json-endpoint', {
2626
responseType: 'stream',

0 commit comments

Comments
 (0)