Skip to content
This repository was archived by the owner on Sep 29, 2025. It is now read-only.

Commit 6d2312e

Browse files
committed
Fix unexpected any
1 parent 0433bd4 commit 6d2312e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/mongodb-chatbot-ui/src/services/conversations.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -832,7 +832,7 @@ describe("ConversationService", () => {
832832
expect(addOptions.credentials).toBe("include");
833833

834834
// For addMessageStreaming, we need to mock fetchEventSource to capture headers
835-
let streamingOptions: any;
835+
let streamingOptions: Partial<FetchEventSource.FetchEventSourceInit>;
836836
(FetchEventSource.fetchEventSource as jest.Mock).mockImplementation(
837837
async (_url, options) => {
838838
streamingOptions = options;

0 commit comments

Comments
 (0)