@balkangraph/orgchart.js 8.2.28 → 8.2.29

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/orgchart.d.ts CHANGED
@@ -1,7 +1,7 @@
1
1
 
2
2
 
3
3
  declare class OrgChart extends OrgChartBase {
4
- nodes: { [key: string | number]: OrgChart.node };
4
+ nodes: { [key in string | number]: OrgChart.node };
5
5
  isVisible: boolean;
6
6
 
7
7
  /**
@@ -2017,8 +2017,8 @@ declare class OrgChartBase {
2017
2017
  * parent ids and sub tree parents ids that needs to be updated on the server. For example if you remove a node that has children all chilren nodes will change their pid to the parent node id of the removed node.
2018
2018
  */
2019
2019
  newPidsAndStpidsForIds: {
2020
- newPidsForIds: { [key: string | number]: string | number },
2021
- newStpidsForIds: { [key: string | number]: string | number }
2020
+ newPidsForIds: { [key in string | number]: string | number },
2021
+ newStpidsForIds: { [key in string | number]: string | number }
2022
2022
  }
2023
2023
  }) => void): OrgChart;
2024
2024