diff --git a/src/lib/exchange/_from-json.ts b/src/lib/exchange/_from-json.ts index 71847fed..f9796695 100644 --- a/src/lib/exchange/_from-json.ts +++ b/src/lib/exchange/_from-json.ts @@ -5,7 +5,7 @@ import { ExchangeTopic } from './exchange-topic'; import { ExchangeDirect } from './exchange-direct'; export function _fromJSON( - json: TExchangeSerialized, + json: Partial, ): ExchangeFanOut | ExchangeTopic | ExchangeDirect { if (!json.bindingParams || json.type === undefined) throw new InvalidExchangeDataError();