fix: add | undefined to transport option callbacks for exactOptionalPropertyTypes (#1855)
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
4fbcfcd176
commit
2c0c481cb9
1 changed files with 14 additions and 7 deletions
|
|
@ -42,8 +42,8 @@ interface TestServerConfig {
|
|||
enableJsonResponse?: boolean;
|
||||
customRequestHandler?: (req: IncomingMessage, res: ServerResponse, parsedBody?: unknown) => Promise<void>;
|
||||
eventStore?: EventStore;
|
||||
onsessioninitialized?: (sessionId: string) => void | Promise<void>;
|
||||
onsessionclosed?: (sessionId: string) => void | Promise<void>;
|
||||
onsessioninitialized?: ((sessionId: string) => void | Promise<void>) | undefined;
|
||||
onsessionclosed?: ((sessionId: string) => void | Promise<void>) | undefined;
|
||||
retryInterval?: number;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue