Skip to content

Commit

Permalink
add types
Browse files Browse the repository at this point in the history
  • Loading branch information
stephanebouget committed Feb 13, 2024
1 parent c3805b6 commit 634a751
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/app/khiops-covisualization/providers/clusters.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ export class ClustersService {
}

getSelectedClustersDetails(): TreeNodeVO[][] {
const details = [];
const details: TreeNodeVO[][] = [];
for (let i = 0; i < this.dimensionsDatas.dimensions.length; i++) {
details.push(this.getCurrentClusterDetailsFromNode(this.dimensionsDatas.dimensionsTrees[i]));

Expand Down Expand Up @@ -301,7 +301,7 @@ export class ClustersService {

const appDatas = this.appService.getDatas().datas;
const appinitialDatas = this.appService.getInitialDatas().datas;
const compositionValues = [];
const compositionValues: CompositionVO[] = [];

if (appDatas.coclusteringReport && appDatas.coclusteringReport.dimensionPartitions) {

Expand Down Expand Up @@ -351,7 +351,7 @@ export class ClustersService {
}

getFilteredDimensionTree(dimensionsTree, selectedDimension: DimensionVO): ClusterDetailsVO[] {
let filteredDimensionsClusters = [];
let filteredDimensionsClusters: ClusterDetailsVO[] = [];
if (dimensionsTree) {
const appinitialDatas = this.appService.getInitialDatas().datas;
const filteredDimensionsClustersDatas = [].concat(this.getCurrentClusterDetailsFromNode(dimensionsTree));
Expand Down

0 comments on commit 634a751

Please # to comment.