Skip to content

Commit 8a967ac

Browse files
committed
fix: change RNFile to FileReference as per latest client changes
1 parent e34273c commit 8a967ac

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

package/src/types/types.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import type { ChannelFilters, ChannelSort, ChannelState, RNFile } from 'stream-chat';
1+
import type { ChannelFilters, ChannelSort, ChannelState, FileReference } from 'stream-chat';
22

33
import type { FileStateValue } from '../utils/utils';
44

@@ -12,7 +12,7 @@ export enum FileTypes {
1212
VoiceRecording = 'voiceRecording',
1313
}
1414

15-
export type File = RNFile;
15+
export type File = FileReference;
1616

1717
/**
1818
* This is nothing but a substitute for the attachment type prior to sending the message.

0 commit comments

Comments
 (0)