@wamra/gantt-task-react
Version:
Interactive Gantt Chart for React with TypeScript
11 lines (10 loc) • 425 B
TypeScript
import type { GlobalRowIndexToTaskMap, RowIndexToTaskMap, TaskToRowIndexMap, TaskOrEmpty } from "../types/public-types";
/**
* @param sortedTasks Sorted list of visible tasks
* @param comparisonLevels Number of comparison levels
*/
export declare const getMapTaskToRowIndex: (visibleTasks: readonly TaskOrEmpty[], comparisonLevels: number) => [
TaskToRowIndexMap,
RowIndexToTaskMap,
GlobalRowIndexToTaskMap
];