diff --git a/src/channel_manager.ts b/src/channel_manager.ts index 2b5c77bc42..244588fe38 100644 --- a/src/channel_manager.ts +++ b/src/channel_manager.ts @@ -32,8 +32,8 @@ export type ChannelManagerPagination = { channels: Channel[]; - pagination: ChannelManagerPagination; initialized: boolean; + pagination: ChannelManagerPagination; }; export type ChannelSetterParameterType = ValueOrPatch< diff --git a/test/unit/channel_manager.test.ts b/test/unit/channel_manager.test.ts index fd34a50639..49b6bd950b 100644 --- a/test/unit/channel_manager.test.ts +++ b/test/unit/channel_manager.test.ts @@ -379,7 +379,10 @@ describe('ChannelManager', () => { it('should set state.initialized to true after the first queryChannels is done', async () => { const stateChangeSpy = sinon.spy(); - channelManager.state.subscribeWithSelector((nextValue) => ({ initialized: nextValue.initialized }), stateChangeSpy); + channelManager.state.subscribeWithSelector( + (nextValue) => ({ initialized: nextValue.initialized }), + stateChangeSpy, + ); stateChangeSpy.resetHistory(); const { initialized } = channelManager.state.getLatestValue();