Skip to content
This repository has been archived by the owner on Sep 30, 2024. It is now read-only.

Commit

Permalink
Improve custom fields typing
Browse files Browse the repository at this point in the history
  • Loading branch information
ggazzo committed May 14, 2024
1 parent efa647e commit 5f4ae69
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/definition/rooms/IRoom.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,12 @@ export interface IRoom {
updatedAt?: Date;
lastModifiedAt?: Date;
description?: string;
/** @deprecated */
customFields?: { [key: string]: any };
custom?: ICustomFields;
parentRoom?: IRoom;
livechatData?: { [key: string]: any };
}

// tslint:disable-next-line
interface ICustomFields {}

Check failure on line 31 in src/definition/rooms/IRoom.ts

View workflow job for this annotation

GitHub Actions / lint

An empty interface is equivalent to `{}`

0 comments on commit 5f4ae69

Please sign in to comment.