我无法在我的代码中解决这个问题,它说The left-hand side of an arithmetic operation must be of type 'any', 'number', 'bigint' or an enum typetooltips: { label: function (tooltipItem) {
varlabel:any =
我有count变量,他可以使用number和string类型。我给他分配了一个count: number | string类型。当我在我的一个地方,我执行算术运算的例子*5‘。我得到一个类型错误。The right-hand side of an arithmetic operation must be of type 'any', 'number