From e73839c7f2abaa8eab492d73506610ee626b15e1 Mon Sep 17 00:00:00 2001 From: Bala Lakshmi Narayanasami Date: Thu, 23 Jun 2022 14:57:44 +0530 Subject: [PATCH] Ignore ts errors in lib --- .../Controls/SupportPaneComponent/SupportPaneComponent.tsx | 7 ++----- tsconfig.json | 3 ++- 2 files changed, 4 insertions(+), 6 deletions(-) diff --git a/src/Explorer/Controls/SupportPaneComponent/SupportPaneComponent.tsx b/src/Explorer/Controls/SupportPaneComponent/SupportPaneComponent.tsx index 40eab6544..9bdbaea79 100644 --- a/src/Explorer/Controls/SupportPaneComponent/SupportPaneComponent.tsx +++ b/src/Explorer/Controls/SupportPaneComponent/SupportPaneComponent.tsx @@ -1,10 +1,7 @@ import { Activity } from "botframework-directlinejs"; -import ReactWebChat from "botframework-webchat"; +import ReactWebChat, { createDirectLine } from "botframework-webchat"; import React from "react"; import * as _ from "underscore"; - -const BotFramework = require('botframework-webchat'); - export interface SupportPaneComponentProps { directLineToken: string; userToken: string; @@ -26,7 +23,7 @@ export class SupportPaneComponent extends React.Component { diff --git a/tsconfig.json b/tsconfig.json index 39dad0788..b0e9818c0 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -21,7 +21,8 @@ "resolveJsonModule": true, "noEmit": true, "types": ["jest"], - "baseUrl": "src" + "baseUrl": "src", + "skipLibCheck": true }, "typedocOptions": { "entryPoints": [