Skip to content

Commit

Permalink
fix(exchange): fix json argument typings for _fromJSON()
Browse files Browse the repository at this point in the history
  • Loading branch information
weyoss committed Nov 11, 2023
1 parent 561f0d0 commit 55bf8cc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/exchange/_from-json.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { ExchangeTopic } from './exchange-topic';
import { ExchangeDirect } from './exchange-direct';

export function _fromJSON(
json: TExchangeSerialized,
json: Partial<TExchangeSerialized>,
): ExchangeFanOut | ExchangeTopic | ExchangeDirect {
if (!json.bindingParams || json.type === undefined)
throw new InvalidExchangeDataError();
Expand Down

0 comments on commit 55bf8cc

Please sign in to comment.