diff --git a/src/responses.ts b/src/responses.ts index b1ef268..87f9560 100644 --- a/src/responses.ts +++ b/src/responses.ts @@ -163,6 +163,7 @@ export type ServerResponse = ExtendResponse<{ read_only: boolean; threads: number; version: string; + pending_events: number; }; }>; diff --git a/src/tests/server.test.ts b/src/tests/server.test.ts index 778b5ab..83b1d59 100644 --- a/src/tests/server.test.ts +++ b/src/tests/server.test.ts @@ -32,6 +32,7 @@ describe('server', () => { read_only: expect.any(Boolean) as boolean, threads: expect.any(Number) as number, version: expect.any(String) as string, + pending_events: expect.any(Number) as number, }, };