Ts 错误修复 & 用率更新 (#1527)

* 优化 crud 批量操作的 confirmText 中的上下文数据

* fix npm test

* ts 问题修复
This commit is contained in:
liaoxuezhi 2021-02-03 18:21:59 +08:00 committed by GitHub
parent cc3e0a3eb1
commit e0d1b16b35
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
35 changed files with 1718 additions and 1006 deletions

View File

@ -120,7 +120,13 @@ exports[`factory:definitions 1`] = `
class="a-Form-label"
>
<span>
text2
<span
class="a-TplField"
>
<span>
text2
</span>
</span>
</span>
</label>
<div
@ -160,7 +166,13 @@ exports[`factory:definitions 1`] = `
class="a-Form-label"
>
<span>
combo
<span
class="a-TplField"
>
<span>
combo
</span>
</span>
</span>
</label>
<div
@ -190,7 +202,13 @@ exports[`factory:definitions 1`] = `
class="a-Form-label"
>
<span>
combo 1
<span
class="a-TplField"
>
<span>
combo 1
</span>
</span>
</span>
</label>
<div
@ -218,7 +236,13 @@ exports[`factory:definitions 1`] = `
class="a-Form-label"
>
<span>
combo 2
<span
class="a-TplField"
>
<span>
combo 2
</span>
</span>
</span>
</label>
<div
@ -258,7 +282,13 @@ exports[`factory:definitions 1`] = `
class="a-Form-label"
>
<span>
children
<span
class="a-TplField"
>
<span>
children
</span>
</span>
</span>
</label>
<div
@ -440,7 +470,13 @@ exports[`factory:definitions override 1`] = `
class="a-Form-label"
>
<span>
text2
<span
class="a-TplField"
>
<span>
text2
</span>
</span>
</span>
</label>
<div
@ -480,7 +516,13 @@ exports[`factory:definitions override 1`] = `
class="a-Form-label"
>
<span>
combo
<span
class="a-TplField"
>
<span>
combo
</span>
</span>
</span>
</label>
<div

View File

@ -36,7 +36,13 @@ exports[`Renderer:array 1`] = `
class="a-Form-label"
>
<span>
颜色集合
<span
class="a-TplField"
>
<span>
颜色集合
</span>
</span>
</span>
</label>
</div>

View File

@ -36,7 +36,13 @@ exports[`Renderer:button-group 1`] = `
class="a-Form-label"
>
<span>
单选
<span
class="a-TplField"
>
<span>
单选
</span>
</span>
</span>
</label>
<div
@ -72,7 +78,13 @@ exports[`Renderer:button-group 1`] = `
class="a-Form-label"
>
<span>
当前值
<span
class="a-TplField"
>
<span>
当前值
</span>
</span>
</span>
</label>
<div
@ -180,7 +192,13 @@ exports[`Renderer:button-group:multiple clearable 1`] = `
class="a-Form-label"
>
<span>
多选
<span
class="a-TplField"
>
<span>
多选
</span>
</span>
</span>
</label>
<div
@ -216,7 +234,13 @@ exports[`Renderer:button-group:multiple clearable 1`] = `
class="a-Form-label"
>
<span>
当前值
<span
class="a-TplField"
>
<span>
当前值
</span>
</span>
</span>
</label>
<div
@ -324,7 +348,13 @@ exports[`Renderer:button-group:multiple clearable 2`] = `
class="a-Form-label"
>
<span>
多选
<span
class="a-TplField"
>
<span>
多选
</span>
</span>
</span>
</label>
<div
@ -360,7 +390,13 @@ exports[`Renderer:button-group:multiple clearable 2`] = `
class="a-Form-label"
>
<span>
当前值
<span
class="a-TplField"
>
<span>
当前值
</span>
</span>
</span>
</label>
<div

View File

@ -36,7 +36,13 @@ exports[`Renderer:checkbox 1`] = `
class="a-Form-label"
>
<span>
Checkbox
<span
class="a-TplField"
>
<span>
Checkbox
</span>
</span>
</span>
</label>
<div

View File

@ -36,7 +36,13 @@ exports[`Renderer:checkboxes 1`] = `
class="a-Form-label"
>
<span>
Checkboxes
<span
class="a-TplField"
>
<span>
Checkboxes
</span>
</span>
</span>
</label>
<div
@ -104,7 +110,13 @@ exports[`Renderer:checkboxes 1`] = `
class="a-Form-label"
>
<span>
当前值
<span
class="a-TplField"
>
<span>
当前值
</span>
</span>
</span>
</label>
<div
@ -212,7 +224,13 @@ exports[`Renderer:checkboxes 2`] = `
class="a-Form-label"
>
<span>
Checkboxes
<span
class="a-TplField"
>
<span>
Checkboxes
</span>
</span>
</span>
</label>
<div
@ -280,7 +298,13 @@ exports[`Renderer:checkboxes 2`] = `
class="a-Form-label"
>
<span>
当前值
<span
class="a-TplField"
>
<span>
当前值
</span>
</span>
</span>
</label>
<div

View File

@ -36,7 +36,13 @@ exports[`Renderer:city 1`] = `
class="a-Form-label"
>
<span>
city
<span
class="a-TplField"
>
<span>
city
</span>
</span>
</span>
</label>
<div

View File

@ -36,7 +36,13 @@ exports[`Renderer:color 1`] = `
class="a-Form-label"
>
<span>
color
<span
class="a-TplField"
>
<span>
color
</span>
</span>
</span>
</label>
<div

View File

@ -36,7 +36,13 @@ exports[`Renderer:container 1`] = `
class="a-Form-label a-Form-itemColumn--normal"
>
<span>
container
<span
class="a-TplField"
>
<span>
container
</span>
</span>
</span>
</label>
<div
@ -56,7 +62,15 @@ exports[`Renderer:container 1`] = `
class="a-Form-label a-Form-itemColumn--normal"
>
<span>
<span
class="a-TplField"
>
<span>
<span
class="text-muted"
/>
</span>
</span>
</span>
</label>
<div

View File

@ -36,7 +36,13 @@ exports[`Renderer:date 1`] = `
class="a-Form-label"
>
<span>
date
<span
class="a-TplField"
>
<span>
date
</span>
</span>
</span>
</label>
<div

View File

@ -36,7 +36,13 @@ exports[`Renderer:dateRange 1`] = `
class="a-Form-label"
>
<span>
date-range
<span
class="a-TplField"
>
<span>
date-range
</span>
</span>
</span>
</label>
<div

View File

@ -36,7 +36,13 @@ exports[`Renderer:date 1`] = `
class="a-Form-label"
>
<span>
date
<span
class="a-TplField"
>
<span>
date
</span>
</span>
</span>
</label>
<div

View File

@ -45,7 +45,15 @@ exports[`Renderer:fieldSet 1`] = `
class="a-Form-label a-Form-itemColumn--normal"
>
<span>
<span
class="a-TplField"
>
<span>
<span
class="text-muted"
/>
</span>
</span>
</span>
</label>
<div

View File

@ -36,7 +36,13 @@ exports[`Renderer:formula 1`] = `
class="a-Form-label"
>
<span>
a
<span
class="a-TplField"
>
<span>
a
</span>
</span>
</span>
</label>
<div
@ -98,7 +104,13 @@ exports[`Renderer:formula 1`] = `
class="a-Form-label"
>
<span>
b
<span
class="a-TplField"
>
<span>
b
</span>
</span>
</span>
</label>
<div
@ -160,7 +172,13 @@ exports[`Renderer:formula 1`] = `
class="a-Form-label"
>
<span>
sum1
<span
class="a-TplField"
>
<span>
sum1
</span>
</span>
</span>
</label>
<div
@ -222,7 +240,13 @@ exports[`Renderer:formula 1`] = `
class="a-Form-label"
>
<span>
sum2
<span
class="a-TplField"
>
<span>
sum2
</span>
</span>
</span>
</label>
<div
@ -284,7 +308,13 @@ exports[`Renderer:formula 1`] = `
class="a-Form-label"
>
<span>
sum3
<span
class="a-TplField"
>
<span>
sum3
</span>
</span>
</span>
</label>
<div

View File

@ -42,7 +42,13 @@ exports[`Renderer:group 1`] = `
class="a-Form-label a-Form-itemColumn--0"
>
<span>
Label
<span
class="a-TplField"
>
<span>
Label
</span>
</span>
</span>
</label>
<div
@ -78,7 +84,13 @@ exports[`Renderer:group 1`] = `
class="a-Form-label a-Form-itemColumn--0"
>
<span>
Label
<span
class="a-TplField"
>
<span>
Label
</span>
</span>
</span>
</label>
<div
@ -115,7 +127,13 @@ exports[`Renderer:group 1`] = `
class="a-Form-label"
>
<span>
Label
<span
class="a-TplField"
>
<span>
Label
</span>
</span>
</span>
</label>
<div
@ -147,7 +165,13 @@ exports[`Renderer:group 1`] = `
class="a-Form-label"
>
<span>
Label
<span
class="a-TplField"
>
<span>
Label
</span>
</span>
</span>
</label>
<div
@ -183,7 +207,13 @@ exports[`Renderer:group 1`] = `
class="a-Form-label"
>
<span>
Label
<span
class="a-TplField"
>
<span>
Label
</span>
</span>
</span>
</label>
<div
@ -211,7 +241,13 @@ exports[`Renderer:group 1`] = `
class="a-Form-label"
>
<span>
Label
<span
class="a-TplField"
>
<span>
Label
</span>
</span>
</span>
</label>
<div

View File

@ -36,7 +36,13 @@ exports[`Renderer:icon-picker 1`] = `
class="a-Form-label"
>
<span>
icon-picker
<span
class="a-TplField"
>
<span>
icon-picker
</span>
</span>
</span>
</label>
<div

View File

@ -36,7 +36,13 @@ exports[`Renderer:Form 1`] = `
class="a-Form-label"
>
<span>
Label
<span
class="a-TplField"
>
<span>
Label
</span>
</span>
</span>
</label>
<div
@ -182,7 +188,13 @@ exports[`Renderer:Form initApi 1`] = `
class="a-Form-label"
>
<span>
A
<span
class="a-TplField"
>
<span>
A
</span>
</span>
</span>
</label>
<div
@ -210,7 +222,13 @@ exports[`Renderer:Form initApi 1`] = `
class="a-Form-label"
>
<span>
B
<span
class="a-TplField"
>
<span>
B
</span>
</span>
</span>
</label>
<div
@ -337,7 +355,13 @@ exports[`Renderer:Form sendOn:true 1`] = `
class="a-Form-label"
>
<span>
A
<span
class="a-TplField"
>
<span>
A
</span>
</span>
</span>
</label>
<div
@ -365,7 +389,13 @@ exports[`Renderer:Form sendOn:true 1`] = `
class="a-Form-label"
>
<span>
B
<span
class="a-TplField"
>
<span>
B
</span>
</span>
</span>
</label>
<div
@ -486,7 +516,13 @@ exports[`Renderer:Form:onValidate 1`] = `
class="a-Form-label"
>
<span>
A
<span
class="a-TplField"
>
<span>
A
</span>
</span>
</span>
</label>
<div
@ -521,7 +557,13 @@ exports[`Renderer:Form:onValidate 1`] = `
class="a-Form-label"
>
<span>
B
<span
class="a-TplField"
>
<span>
B
</span>
</span>
</span>
</label>
<div
@ -659,7 +701,13 @@ exports[`Renderer:Form:onValidate 3`] = `
class="a-Form-label"
>
<span>
A
<span
class="a-TplField"
>
<span>
A
</span>
</span>
</span>
</label>
<div
@ -687,7 +735,13 @@ exports[`Renderer:Form:onValidate 3`] = `
class="a-Form-label"
>
<span>
B
<span
class="a-TplField"
>
<span>
B
</span>
</span>
</span>
</label>
<div
@ -821,7 +875,13 @@ exports[`Renderer:Form:remoteValidate 1`] = `
class="a-Form-label"
>
<span>
Label
<span
class="a-TplField"
>
<span>
Label
</span>
</span>
</span>
</label>
<div
@ -949,7 +1009,13 @@ exports[`Renderer:Form:valdiate 1`] = `
class="a-Form-label"
>
<span>
Label
<span
class="a-TplField"
>
<span>
Label
</span>
</span>
<span
class="a-Form-star"
>
@ -1083,7 +1149,13 @@ exports[`Renderer:Form:valdiate 2`] = `
class="a-Form-label"
>
<span>
Label
<span
class="a-TplField"
>
<span>
Label
</span>
</span>
<span
class="a-Form-star"
>

View File

@ -36,7 +36,13 @@ exports[`Renderer:fieldSet 1`] = `
class="a-Form-label a-Form-itemColumn--normal"
>
<span>
input-group
<span
class="a-TplField"
>
<span>
input-group
</span>
</span>
</span>
</label>
<div

View File

@ -36,7 +36,13 @@ exports[`Renderer:list 1`] = `
class="a-Form-label"
>
<span>
单选
<span
class="a-TplField"
>
<span>
单选
</span>
</span>
</span>
</label>
<div
@ -168,7 +174,13 @@ exports[`Renderer:list:multiple clearable 1`] = `
class="a-Form-label"
>
<span>
多选
<span
class="a-TplField"
>
<span>
多选
</span>
</span>
</span>
</label>
<div
@ -206,7 +218,13 @@ exports[`Renderer:list:multiple clearable 1`] = `
class="a-Form-label"
>
<span>
当前值
<span
class="a-TplField"
>
<span>
当前值
</span>
</span>
</span>
</label>
<div
@ -314,7 +332,13 @@ exports[`Renderer:list:multiple clearable 2`] = `
class="a-Form-label"
>
<span>
多选
<span
class="a-TplField"
>
<span>
多选
</span>
</span>
</span>
</label>
<div
@ -352,7 +376,13 @@ exports[`Renderer:list:multiple clearable 2`] = `
class="a-Form-label"
>
<span>
当前值
<span
class="a-TplField"
>
<span>
当前值
</span>
</span>
</span>
</label>
<div

View File

@ -36,7 +36,13 @@ exports[`Renderer:number 1`] = `
class="a-Form-label"
>
<span>
number
<span
class="a-TplField"
>
<span>
number
</span>
</span>
</span>
</label>
<div

View File

@ -36,7 +36,13 @@ exports[`Renderer:radios 1`] = `
class="a-Form-label"
>
<span>
radios
<span
class="a-TplField"
>
<span>
radios
</span>
</span>
</span>
</label>
<div
@ -104,7 +110,13 @@ exports[`Renderer:radios 1`] = `
class="a-Form-label"
>
<span>
当前值
<span
class="a-TplField"
>
<span>
当前值
</span>
</span>
</span>
</label>
<div
@ -212,7 +224,13 @@ exports[`Renderer:radios 2`] = `
class="a-Form-label"
>
<span>
radios
<span
class="a-TplField"
>
<span>
radios
</span>
</span>
</span>
</label>
<div
@ -280,7 +298,13 @@ exports[`Renderer:radios 2`] = `
class="a-Form-label"
>
<span>
当前值
<span
class="a-TplField"
>
<span>
当前值
</span>
</span>
</span>
</label>
<div

View File

@ -36,7 +36,13 @@ exports[`Renderer:number 1`] = `
class="a-Form-label"
>
<span>
range
<span
class="a-TplField"
>
<span>
range
</span>
</span>
</span>
</label>
<div
@ -212,7 +218,13 @@ exports[`Renderer:range:multiple 1`] = `
class="a-Form-label"
>
<span>
range
<span
class="a-TplField"
>
<span>
range
</span>
</span>
</span>
</label>
<div

View File

@ -36,7 +36,13 @@ exports[`Renderer:rating 1`] = `
class="a-Form-label"
>
<span>
rating
<span
class="a-TplField"
>
<span>
rating
</span>
</span>
</span>
</label>
<div

View File

@ -36,7 +36,13 @@ exports[`Renderer:repeat 1`] = `
class="a-Form-label"
>
<span>
repeat
<span
class="a-TplField"
>
<span>
repeat
</span>
</span>
</span>
</label>
<div

View File

@ -36,7 +36,13 @@ exports[`Renderer:service 1`] = `
class="a-Form-label"
>
<span>
模板
<span
class="a-TplField"
>
<span>
模板
</span>
</span>
<span
class="a-Form-star"
>
@ -89,7 +95,13 @@ exports[`Renderer:service 1`] = `
class="a-Form-label"
>
<span>
动态字段1
<span
class="a-TplField"
>
<span>
动态字段1
</span>
</span>
<span
class="a-Form-star"
>
@ -122,7 +134,13 @@ exports[`Renderer:service 1`] = `
class="a-Form-label"
>
<span>
动态字段2
<span
class="a-TplField"
>
<span>
动态字段2
</span>
</span>
</span>
</label>
<div

View File

@ -36,7 +36,13 @@ exports[`Renderer:static 1`] = `
class="a-Form-label"
>
<span>
label
<span
class="a-TplField"
>
<span>
label
</span>
</span>
</span>
</label>
<div

View File

@ -36,7 +36,13 @@ exports[`Renderer:switch 1`] = `
class="a-Form-label"
>
<span>
开关
<span
class="a-TplField"
>
<span>
开关
</span>
</span>
</span>
</label>
<div

View File

@ -80,7 +80,13 @@ exports[`Renderer:tabs 1`] = `
class="a-Form-label"
>
<span>
文本3
<span
class="a-TplField"
>
<span>
文本3
</span>
</span>
</span>
</label>
<div
@ -108,7 +114,13 @@ exports[`Renderer:tabs 1`] = `
class="a-Form-label"
>
<span>
文本4
<span
class="a-TplField"
>
<span>
文本4
</span>
</span>
</span>
</label>
<div

View File

@ -36,7 +36,13 @@ exports[`Renderer:textarea 1`] = `
class="a-Form-label"
>
<span>
textarea
<span
class="a-TplField"
>
<span>
textarea
</span>
</span>
</span>
</label>
<textarea

View File

@ -11,7 +11,7 @@ import {createMemoryHistory} from 'history';
// mock getComputedStyle
Object.defineProperty(window, 'getComputedStyle', {
value: () => ({
getPropertyValue: prop => {
getPropertyValue: (prop: any) => {
return '';
}
})

File diff suppressed because it is too large Load Diff

View File

@ -64,7 +64,13 @@ exports[`Renderer:Wizard 1`] = `
className="a-Form-label"
>
<span>
网址
<span
className="a-TplField"
>
<span>
网址
</span>
</span>
<span
className="a-Form-star"
>
@ -100,7 +106,13 @@ exports[`Renderer:Wizard 1`] = `
className="a-Form-label"
>
<span>
名称
<span
className="a-TplField"
>
<span>
名称
</span>
</span>
<span
className="a-Form-star"
>
@ -340,7 +352,13 @@ exports[`Renderer:Wizard actionPrevLabel actionNextLabel actionFinishLabel class
class="a-Form-label"
>
<span>
网址
<span
class="a-TplField"
>
<span>
网址
</span>
</span>
</span>
</label>
<div
@ -368,7 +386,13 @@ exports[`Renderer:Wizard actionPrevLabel actionNextLabel actionFinishLabel class
class="a-Form-label"
>
<span>
名称
<span
class="a-TplField"
>
<span>
名称
</span>
</span>
</span>
</label>
<div
@ -524,7 +548,13 @@ exports[`Renderer:Wizard dialog 1`] = `
class="a-Form-label"
>
<span>
网址
<span
class="a-TplField"
>
<span>
网址
</span>
</span>
</span>
</label>
<div
@ -552,7 +582,13 @@ exports[`Renderer:Wizard dialog 1`] = `
class="a-Form-label"
>
<span>
名称
<span
class="a-TplField"
>
<span>
名称
</span>
</span>
</span>
</label>
<div
@ -725,7 +761,13 @@ exports[`Renderer:Wizard dialog 2`] = `
class="a-Form-label"
>
<span>
网址
<span
class="a-TplField"
>
<span>
网址
</span>
</span>
</span>
</label>
<div
@ -753,7 +795,13 @@ exports[`Renderer:Wizard dialog 2`] = `
class="a-Form-label"
>
<span>
名称
<span
class="a-TplField"
>
<span>
名称
</span>
</span>
</span>
</label>
<div
@ -926,7 +974,13 @@ exports[`Renderer:Wizard initApi 1`] = `
className="a-Form-label"
>
<span>
网址
<span
className="a-TplField"
>
<span>
网址
</span>
</span>
<span
className="a-Form-star"
>
@ -962,7 +1016,13 @@ exports[`Renderer:Wizard initApi 1`] = `
className="a-Form-label"
>
<span>
名称
<span
className="a-TplField"
>
<span>
名称
</span>
</span>
<span
className="a-Form-star"
>
@ -1092,7 +1152,13 @@ exports[`Renderer:Wizard initApi reload 1`] = `
class="a-Form-label"
>
<span>
网址
<span
class="a-TplField"
>
<span>
网址
</span>
</span>
</span>
</label>
<div
@ -1120,7 +1186,13 @@ exports[`Renderer:Wizard initApi reload 1`] = `
class="a-Form-label"
>
<span>
名称
<span
class="a-TplField"
>
<span>
名称
</span>
</span>
</span>
</label>
<div
@ -1619,7 +1691,13 @@ exports[`Renderer:Wizard initApi show loading 2`] = `
className="a-Form-label"
>
<span>
网址
<span
className="a-TplField"
>
<span>
网址
</span>
</span>
<span
className="a-Form-star"
>
@ -1655,7 +1733,13 @@ exports[`Renderer:Wizard initApi show loading 2`] = `
className="a-Form-label"
>
<span>
名称
<span
className="a-TplField"
>
<span>
名称
</span>
</span>
<span
className="a-Form-star"
>
@ -1791,7 +1875,13 @@ exports[`Renderer:Wizard readOnly 1`] = `
className="a-Form-label"
>
<span>
网址
<span
className="a-TplField"
>
<span>
网址
</span>
</span>
</span>
</label>
<div
@ -1823,7 +1913,13 @@ exports[`Renderer:Wizard readOnly 1`] = `
className="a-Form-label"
>
<span>
名称
<span
className="a-TplField"
>
<span>
名称
</span>
</span>
</span>
</label>
<div
@ -2068,7 +2164,13 @@ exports[`Renderer:Wizard step initApi 1`] = `
class="a-Form-label"
>
<span>
邮箱
<span
class="a-TplField"
>
<span>
邮箱
</span>
</span>
<span
class="a-Form-star"
>
@ -2354,7 +2456,13 @@ exports[`Renderer:Wizard target 1`] = `
class="a-Form-label"
>
<span>
Website
<span
class="a-TplField"
>
<span>
Website
</span>
</span>
</span>
</label>
<div
@ -2382,7 +2490,13 @@ exports[`Renderer:Wizard target 1`] = `
class="a-Form-label"
>
<span>
Name
<span
class="a-TplField"
>
<span>
Name
</span>
</span>
</span>
</label>
<div
@ -2533,7 +2647,13 @@ exports[`Renderer:Wizard validate 1`] = `
class="a-Form-label"
>
<span>
网址
<span
class="a-TplField"
>
<span>
网址
</span>
</span>
<span
class="a-Form-star"
>
@ -2573,7 +2693,13 @@ exports[`Renderer:Wizard validate 1`] = `
class="a-Form-label"
>
<span>
名称
<span
class="a-TplField"
>
<span>
名称
</span>
</span>
<span
class="a-Form-star"
>

View File

@ -376,7 +376,7 @@ export default class CRUD extends React.Component<CRUDProps, any> {
control: any;
lastQuery: any;
dataInvalid: boolean = false;
timer: NodeJS.Timeout | number;
timer: NodeJS.Timeout;
mounted: boolean;
constructor(props: CRUDProps) {
super(props);

View File

@ -148,8 +148,8 @@ export interface ChartProps extends RendererProps, Omit<ChartSchema, 'type'> {
chartRef?: (echart: any) => void;
onDataFilter?: (config: any, echarts: any) => any;
onChartWillMount?: (echarts: any) => void | Promise<void>;
onChartMount?: (chart: echarts.ECharts, echarts: any) => void;
onChartUnMount?: (chart: echarts.ECharts, echarts: any) => void;
onChartMount?: (chart: any, echarts: any) => void;
onChartUnMount?: (chart: any, echarts: any) => void;
store: IServiceStore;
}
export class Chart extends React.Component<ChartProps> {
@ -161,7 +161,7 @@ export class Chart extends React.Component<ChartProps> {
static propsList: Array<string> = [];
ref: any;
echarts?: echarts.ECharts;
echarts?: any;
unSensor: Function;
pending?: object;
pendingCtx?: any;

View File

@ -36,10 +36,10 @@ export default class ChartRadiosControl extends React.Component<
> {
highlightIndex: number = -1;
prevIndex: number = -1;
chart?: echarts.ECharts;
chart?: any;
@autobind
chartRef(chart?: echarts.ECharts) {
chartRef(chart?: any) {
this.chart = chart;
this.chart?.on('click', 'series', (params: any) => {

View File

@ -19,10 +19,9 @@
"experimentalDecorators": true,
"emitDecoratorMetadata": true,
"typeRoots": ["./node_modules/@types", "./types"],
"skipLibCheck": true,
"types": ["node", "typePatches"]
"skipLibCheck": true
},
"include": ["src/**/*"],
"exclude": ["node_modules", "acceptance-tests", "webpack", "jest"],
"types": ["typePatches"]
"types": ["node", "typePatches"]
}