@balkangraph/orgchart.js 8.8.12 → 8.8.15

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
@@ -32,7 +32,7 @@ declare class OrgChart extends OrgChartBase {
32
32
  * Gets node data.
33
33
  * @param id identification number of the node
34
34
  */
35
- get(id: string | number): object;
35
+ get(id: string | number): OrgChart.node;
36
36
  /**
37
37
  * If specified node has assistant/s or partner/s as children will return false.
38
38
  * @param id identification number of the node
@@ -1021,7 +1021,7 @@ declare namespace OrgChart {
1021
1021
  * @param detailsMode If true the edit form is in read only mode
1022
1022
  * @param dontAnim
1023
1023
  */
1024
- show(id: string | number, detailsMode: boolean, dontAnim?: boolean): void;
1024
+ show(id: string | number, detailsMode?: boolean, dontAnim?: boolean): void;
1025
1025
  /**
1026
1026
  * Hides the edit form
1027
1027
  */