Ignore ts errors in lib

This commit is contained in:
Bala Lakshmi Narayanasami 2022-06-23 14:57:44 +05:30
parent 95b43d83d1
commit e73839c7f2
2 changed files with 4 additions and 6 deletions

View File

@ -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<SupportPaneComponentPr
bubbleFromUserBackground: "rgba(0, 255, 0, .1)",
};
const directLine = BotFramework.createDirectLine({ token: this.props.directLineToken });
const directLine = createDirectLine({ token: this.props.directLineToken });
const dl = {
...directLine,
postActivity: (activity: Activity) => {

View File

@ -21,7 +21,8 @@
"resolveJsonModule": true,
"noEmit": true,
"types": ["jest"],
"baseUrl": "src"
"baseUrl": "src",
"skipLibCheck": true
},
"typedocOptions": {
"entryPoints": [