enterprise-ng
enterprise-ng copied to clipboard
SohoDataGrid: SohoDataGridOptions missing treeDepth property
Describe the bug
The typings for the datagrid option (SohoDataGridOptions) is missing the treeDepth property.
This requires the use of any in the code, which violates the eslint rules.
To Reproduce
// eslint-disable-next-line @typescript-eslint/no-explicit-any
const settings = api.settings as any;
const depth = settings.treeDepth && settings.treeDepth && settings.treeDepth[row]
? settings.treeDepth[row].depth
: 0;
Expected behavior
const settings = api.settings;
const depth = settings.treeDepth && settings.treeDepth && settings.treeDepth[row]
? settings.treeDepth[row].depth
: 0;
Version
- ids-enterprise-ng: v9.4.0
Screenshots
N/A
Platform
All
Additional context
Would be a great issue for a PR 👍🏻
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contribution.
This issue was closed because it has been inactive for 14 days since being marked as stale.