diff --git a/app/definitions/IRocketChat.ts b/app/definitions/IRocketChat.ts index 0db51320..31966470 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; }