UNPKG

stream-chat-react-native-core

Version:

The official React Native and Expo components for Stream Chat, a service for building chat applications

11 lines (9 loc) 255 B
import { fromPartial } from '@total-typescript/shoehorn'; import type { Event, StreamChat } from 'stream-chat'; export default (client: StreamChat) => { client.dispatchEvent( fromPartial<Event>({ type: 'connection.recovered', }), ); };