Skip to content

Commit 9689917

Browse files
kev-flexclaude
andcommitted
fix: use explicit undefined return to satisfy typedoc strict checking
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 9db218d commit 9689917

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

packages/server/test/server/streamableHttp.test.ts

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1099,9 +1099,8 @@ describe('Zod v4', () => {
10991099

11001100
it('should return 404 when callback returns undefined (session unknown)', async () => {
11011101
const transport = new WebStandardStreamableHTTPServerTransport({
1102-
replayInitialization: () => {
1103-
return;
1104-
}
1102+
// eslint-disable-next-line unicorn/no-useless-undefined
1103+
replayInitialization: () => undefined
11051104
});
11061105

11071106
const mcpServer = new McpServer({ name: 'test', version: '1.0.0' });

0 commit comments

Comments
 (0)