From e8a3712e64ac2f2e357546282f5671c09e40ad95 Mon Sep 17 00:00:00 2001 From: GleidsonDaniel Date: Wed, 9 Feb 2022 16:22:18 -0300 Subject: [PATCH] fix rocketchat interface --- 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 0db51320c81..3196647008b 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; }