We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2a6a297 commit 7092362Copy full SHA for 7092362
tests/lib/sse-helpers.ts
@@ -8,8 +8,8 @@ export function loadFixture(filename: string): string {
8
return readFileSync(fixturePath, 'utf-8');
9
}
10
11
-export async function parseSSEFixture(sseContent: string): Promise<any[]> {
12
- const events: any[] = [];
+export async function parseSSEFixture(sseContent: string): Promise<unknown[]> {
+ const events: unknown[] = [];
13
14
async function* body(): AsyncGenerator<Buffer> {
15
yield Buffer.from(sseContent);
0 commit comments