Skip to content

Commit

Permalink
fix: ignore ts complaints for interface declaration
Browse files Browse the repository at this point in the history
  • Loading branch information
isekovanic committed Mar 6, 2025
1 parent bc9a083 commit d0b2211
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions examples/SampleApp/src/custom-types.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@ import {
} from 'stream-chat-react-native';

declare module 'stream-chat' {
/* eslint-disable @typescript-eslint/no-empty-object-type */

interface CustomAttachmentData extends DefaultAttachmentType {
id?: string;
}
Expand All @@ -38,4 +40,6 @@ declare module 'stream-chat' {
interface CustomReactionData extends DefaultReactionType {}

interface CustomThreadData extends DefaultThreadType {}

/* eslint-enable @typescript-eslint/no-empty-object-type */
}

0 comments on commit d0b2211

Please # to comment.