From 7a5a0850673c602b83339adc77311364ed519c10 Mon Sep 17 00:00:00 2001 From: Gleidson Daniel Silva Date: Wed, 9 Feb 2022 16:47:59 -0300 Subject: [PATCH] Chore: Fix rocketchat interface (#3705) --- app/definitions/IRocketChat.ts | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/app/definitions/IRocketChat.ts b/app/definitions/IRocketChat.ts index 0db51320c..319664700 100644 --- a/app/definitions/IRocketChat.ts +++ b/app/definitions/IRocketChat.ts @@ -1,5 +1,7 @@ -import { Rocketchat } from '@rocket.chat/sdk'; +import rocketchat from '../lib/rocketchat'; -export interface IRocketChat { - sdk: typeof Rocketchat; +type TRocketChat = typeof rocketchat; + +export interface IRocketChat extends TRocketChat { + sdk: any; }