From 59d720b33dcd97a429510945abcca10a66c88f4b Mon Sep 17 00:00:00 2001 From: Alberto Ricart Date: Fri, 8 Nov 2024 09:22:50 -0600 Subject: [PATCH] typed get --- jetstream/src/jsm_direct.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jetstream/src/jsm_direct.ts b/jetstream/src/jsm_direct.ts index 4613a1d4..8f5979e9 100644 --- a/jetstream/src/jsm_direct.ts +++ b/jetstream/src/jsm_direct.ts @@ -118,7 +118,7 @@ export class DirectStreamAPIImpl extends BaseApiClientImpl get( stream: string, - opts: Record, + opts: DirectBatchOptions | DirectLastFor, ): Promise> { validateStreamName(stream);