Skip to content

Commit

Permalink
Merge pull request #675 from nats-io/fix-impl-type
Browse files Browse the repository at this point in the history
Fix incorrect type in implementation of `jetstream()` api - it is correct in the interface.
  • Loading branch information
aricart committed Mar 28, 2024
2 parents 948f2fa + 6f57bb2 commit bcdda74
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nats-base-client/nats.ts
Original file line number Diff line number Diff line change
Expand Up @@ -505,7 +505,7 @@ export class NatsConnectionImpl implements NatsConnection {
}

jetstream(
opts: JetStreamOptions | JetStreamManagerImpl = {},
opts: JetStreamOptions | JetStreamManagerOptions = {},
): JetStreamClient {
return new JetStreamClientImpl(this, opts);
}
Expand Down

0 comments on commit bcdda74

Please sign in to comment.