Skip to content

Commit

Permalink
fix: TOverrideApi logic
Browse files Browse the repository at this point in the history
  • Loading branch information
playerx committed Apr 20, 2024
1 parent fc07e49 commit c8e5669
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 2 deletions.
21 changes: 20 additions & 1 deletion deno.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/nats.transport.ts
Original file line number Diff line number Diff line change
Expand Up @@ -402,7 +402,7 @@ export class NatsTransport<TApi, TContext = {}> implements Transport {
*/
async subscribeEvents<TOverrideApi = TApi>(
handlerMap: Map1<
TOverrideApi | TApi,
TOverrideApi,
TContext | TransportContext<MessageMetadata>
>,
options?: {
Expand Down

0 comments on commit c8e5669

Please sign in to comment.