Skip to content

Commit 7092362

Browse files
committed
use unknown rather than any
1 parent 2a6a297 commit 7092362

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/lib/sse-helpers.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ export function loadFixture(filename: string): string {
88
return readFileSync(fixturePath, 'utf-8');
99
}
1010

11-
export async function parseSSEFixture(sseContent: string): Promise<any[]> {
12-
const events: any[] = [];
11+
export async function parseSSEFixture(sseContent: string): Promise<unknown[]> {
12+
const events: unknown[] = [];
1313

1414
async function* body(): AsyncGenerator<Buffer> {
1515
yield Buffer.from(sseContent);

0 commit comments

Comments
 (0)