mirror of
https://github.com/Azure/cosmos-explorer.git
synced 2025-06-06 23:52:32 +01:00
Ignore ts errors in lib
This commit is contained in:
parent
95b43d83d1
commit
e73839c7f2
@ -1,10 +1,7 @@
|
|||||||
import { Activity } from "botframework-directlinejs";
|
import { Activity } from "botframework-directlinejs";
|
||||||
import ReactWebChat from "botframework-webchat";
|
import ReactWebChat, { createDirectLine } from "botframework-webchat";
|
||||||
import React from "react";
|
import React from "react";
|
||||||
import * as _ from "underscore";
|
import * as _ from "underscore";
|
||||||
|
|
||||||
const BotFramework = require('botframework-webchat');
|
|
||||||
|
|
||||||
export interface SupportPaneComponentProps {
|
export interface SupportPaneComponentProps {
|
||||||
directLineToken: string;
|
directLineToken: string;
|
||||||
userToken: string;
|
userToken: string;
|
||||||
@ -26,7 +23,7 @@ export class SupportPaneComponent extends React.Component<SupportPaneComponentPr
|
|||||||
bubbleFromUserBackground: "rgba(0, 255, 0, .1)",
|
bubbleFromUserBackground: "rgba(0, 255, 0, .1)",
|
||||||
};
|
};
|
||||||
|
|
||||||
const directLine = BotFramework.createDirectLine({ token: this.props.directLineToken });
|
const directLine = createDirectLine({ token: this.props.directLineToken });
|
||||||
const dl = {
|
const dl = {
|
||||||
...directLine,
|
...directLine,
|
||||||
postActivity: (activity: Activity) => {
|
postActivity: (activity: Activity) => {
|
||||||
|
@ -21,7 +21,8 @@
|
|||||||
"resolveJsonModule": true,
|
"resolveJsonModule": true,
|
||||||
"noEmit": true,
|
"noEmit": true,
|
||||||
"types": ["jest"],
|
"types": ["jest"],
|
||||||
"baseUrl": "src"
|
"baseUrl": "src",
|
||||||
|
"skipLibCheck": true
|
||||||
},
|
},
|
||||||
"typedocOptions": {
|
"typedocOptions": {
|
||||||
"entryPoints": [
|
"entryPoints": [
|
||||||
|
Loading…
x
Reference in New Issue
Block a user