Skip to content

Commit 1e6dfe2

Browse files
committed
chore: lint error
1 parent 3773678 commit 1e6dfe2

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

packages/vtable/src/dataset/dataset.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1146,13 +1146,13 @@ export class Dataset {
11461146
): IAggregator {
11471147
const indicatorIndex = this.indicatorKeys.indexOf(indicator);
11481148
//#region 获取行和列的维度key,考虑到tree模式被折叠的情况 rowKey colKey会小于rows和columns的长度
1149-
let rowDimensionKey;
1149+
let rowDimensionKey: string | undefined;
11501150
if (indicatorPosition?.position === 'row') {
11511151
rowDimensionKey = rowKey.length >= 2 ? this.rows[rowKey.length - 2] : undefined;
11521152
} else {
11531153
rowDimensionKey = this.rows[rowKey.length - 1];
11541154
}
1155-
let colDimensionKey;
1155+
let colDimensionKey: any;
11561156
if (indicatorPosition?.position === 'col') {
11571157
colDimensionKey = colKey.length >= 2 ? this.columns[colKey.length - 2] : undefined;
11581158
} else {

0 commit comments

Comments
 (0)