Skip to content

Commit d0b2211

Browse files
committed
fix: ignore ts complaints for interface declaration
1 parent bc9a083 commit d0b2211

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

examples/SampleApp/src/custom-types.d.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@ import {
1313
} from 'stream-chat-react-native';
1414

1515
declare module 'stream-chat' {
16+
/* eslint-disable @typescript-eslint/no-empty-object-type */
17+
1618
interface CustomAttachmentData extends DefaultAttachmentType {
1719
id?: string;
1820
}
@@ -38,4 +40,6 @@ declare module 'stream-chat' {
3840
interface CustomReactionData extends DefaultReactionType {}
3941

4042
interface CustomThreadData extends DefaultThreadType {}
43+
44+
/* eslint-enable @typescript-eslint/no-empty-object-type */
4145
}

0 commit comments

Comments
 (0)