diff --git a/components/lib/datatable/datatable.d.ts b/components/lib/datatable/datatable.d.ts index 8e54490817..7a9f84e54d 100644 --- a/components/lib/datatable/datatable.d.ts +++ b/components/lib/datatable/datatable.d.ts @@ -1022,7 +1022,7 @@ interface DataTableBaseProps extends Omit extends Omit extends Omit extends Omit extends Omit extends Omit extends Omit extends Omit extends Omit extends Omit extends Omit extends Omit extends Omit} event - Custom data selectable event. */ - isDataSelectable?(event: DataTableDataSelectableEvent): boolean | undefined | null; + isDataSelectable?(event: DataTableDataSelectableEvent): boolean | null; /** * Callback to invoke when all rows are selected using the header checkbox. * @param {DataTableSelectEvent} event - Custom select event. @@ -1634,7 +1634,7 @@ interface DataTableBaseProps extends Omit} data - Editing row data. */ - rowEditValidator?(data: DataTableRowData, options: DataTableRowEditValidatorOptions): boolean | undefined; + rowEditValidator?(data: DataTableRowData, options: DataTableRowEditValidatorOptions): boolean; /** * Function that receives the row data as the parameter and returns the expanded row content. You can override the rendering of the content by setting options.customRendering = true. * @param {DataTableRowData} data - Editing row data. @@ -1646,13 +1646,13 @@ interface DataTableBaseProps extends Omit} data - Editing row data. * @param {DataTableShowRowReorderElementOptions} options - Options for the row reorder element. */ - showRowReorderElement?(data: DataTableRowData, options: DataTableShowRowReorderElementOptions): boolean | undefined | null; + showRowReorderElement?(data: DataTableRowData, options: DataTableShowRowReorderElementOptions): boolean | null; /** * Function that returns a boolean by passing the row data to decide if the radio or checkbox should be displayed per row. * @param {DataTableRowData} data - Editing row data. * @param {DataTableShowSelectionElementOptions} options - Options for the row reorder element. */ - showSelectionElement?(data: DataTableRowData, options: DataTableShowSelectionElementOptions): boolean | undefined | null; + showSelectionElement?(data: DataTableRowData, options: DataTableShowSelectionElementOptions): boolean | null; /** * Used to get the child elements of the component. * @readonly @@ -1684,7 +1684,7 @@ interface DataTablePropsSingle extends DataT * Whether to cell selection is enabled or not. * @defaultValue false */ - cellSelection?: false | undefined; + cellSelection?: boolean; /** * Specifies the selection mode, valid values are "single", "multiple", "radiobutton" and "checkbox". */ @@ -1714,7 +1714,7 @@ interface DataTablePropsMultiple extends Dat * Whether to cell selection is enabled or not. * @defaultValue false */ - cellSelection?: false | undefined; + cellSelection?: boolean; /** * Specifies the selection mode, valid values are "single", "multiple", "radiobutton" and "checkbox". */ diff --git a/components/lib/dropdown/dropdown.d.ts b/components/lib/dropdown/dropdown.d.ts index 580a4a8ba3..5c2fd1a2af 100644 --- a/components/lib/dropdown/dropdown.d.ts +++ b/components/lib/dropdown/dropdown.d.ts @@ -249,7 +249,7 @@ export interface DropdownProps extends Omit