diff --git a/packages/devextreme/js/common/charts.d.ts b/packages/devextreme/js/common/charts.d.ts index 96a6fb4a2d29..144dd365e348 100644 --- a/packages/devextreme/js/common/charts.d.ts +++ b/packages/devextreme/js/common/charts.d.ts @@ -476,7 +476,7 @@ export interface SeriesPoint { * @default 30 * @propertyOf dxChartSeriesTypes.LineSeries,dxChartSeriesTypes.StackedLineSeries,dxChartSeriesTypes.FullStackedLineSeries,dxChartSeriesTypes.StackedSplineSeries,dxChartSeriesTypes.FullStackedSplineSeries,dxChartSeriesTypes.SplineSeries,dxChartSeriesTypes.StepLineSeries,dxChartSeriesTypes.AreaSeries,dxChartSeriesTypes.StackedAreaSeries,dxChartSeriesTypes.FullStackedAreaSeries,dxChartSeriesTypes.StackedSplineAreaSeries,dxChartSeriesTypes.FullStackedSplineAreaSeries,dxChartSeriesTypes.SplineAreaSeries,dxChartSeriesTypes.StepAreaSeries,dxChartSeriesTypes.RangeAreaSeries,dxChartSeriesTypes.ScatterSeries */ - height?: number | undefined | { + height?: number | { /** * @docid dxChartSeriesTypes.CommonSeries.point.image.height.rangeMaxPoint * @default undefined diff --git a/packages/devextreme/js/common/grids.d.ts b/packages/devextreme/js/common/grids.d.ts index f131acd5ca95..ee1ae422450f 100644 --- a/packages/devextreme/js/common/grids.d.ts +++ b/packages/devextreme/js/common/grids.d.ts @@ -261,7 +261,7 @@ export interface ColumnBase { * @default undefined * @public */ - filterOperations?: Array | undefined; + filterOperations?: Array; /** * @docid GridBaseColumn.filterType * @default "include" @@ -281,7 +281,7 @@ export interface ColumnBase { * @fires GridBaseOptions.onOptionChanged * @public */ - filterValues?: Array | undefined; + filterValues?: Array; /** * @docid GridBaseColumn.fixed * @default false diff --git a/packages/devextreme/js/ui/chat.d.ts b/packages/devextreme/js/ui/chat.d.ts index 88cb9a41ad0b..589514802055 100644 --- a/packages/devextreme/js/ui/chat.d.ts +++ b/packages/devextreme/js/ui/chat.d.ts @@ -206,7 +206,7 @@ export interface dxChatOptions extends WidgetOptions { * @default undefined * @public */ - alerts?: Array | undefined; + alerts?: Array; /** * @docid * @default [] diff --git a/packages/devextreme/js/ui/diagram.d.ts b/packages/devextreme/js/ui/diagram.d.ts index a8866160b3da..aa19468c161f 100644 --- a/packages/devextreme/js/ui/diagram.d.ts +++ b/packages/devextreme/js/ui/diagram.d.ts @@ -256,7 +256,7 @@ export interface dxDiagramOptions extends WidgetOptions { * @docid * @default undefined */ - commands?: Array | undefined; + commands?: Array; /** * @docid * @default true @@ -1004,7 +1004,7 @@ export interface dxDiagramOptions extends WidgetOptions { * @docid * @default undefined */ - commands?: Array | undefined; + commands?: Array; /** * @docid * @default false @@ -1021,7 +1021,7 @@ export interface dxDiagramOptions extends WidgetOptions { * @docid * @default undefined */ - commands?: Array | undefined; + commands?: Array; /** * @docid * @default true @@ -1038,7 +1038,7 @@ export interface dxDiagramOptions extends WidgetOptions { * @docid * @default undefined */ - commands?: Array | undefined; + commands?: Array; /** * @docid * @default true @@ -1076,7 +1076,7 @@ export interface dxDiagramOptions extends WidgetOptions { * @docid */ title?: string; - }> | Array | undefined; + }> | Array; /** * @docid * @default 3 @@ -1120,7 +1120,7 @@ export interface dxDiagramOptions extends WidgetOptions { * @docid * @default undefined */ - items?: Array | undefined; + items?: Array; /** * @docid * @default undefined diff --git a/packages/devextreme/js/ui/drop_down_editor/ui.drop_down_editor.d.ts b/packages/devextreme/js/ui/drop_down_editor/ui.drop_down_editor.d.ts index 8d9e52c65d4a..dd6084994fe5 100644 --- a/packages/devextreme/js/ui/drop_down_editor/ui.drop_down_editor.d.ts +++ b/packages/devextreme/js/ui/drop_down_editor/ui.drop_down_editor.d.ts @@ -74,7 +74,7 @@ export interface dxDropDownEditorOptions extends Omit | undefined; + buttons?: Array; /** * @docid * @default true diff --git a/packages/devextreme/js/ui/filter_builder.d.ts b/packages/devextreme/js/ui/filter_builder.d.ts index eecbab0af99d..ae356c722c2d 100644 --- a/packages/devextreme/js/ui/filter_builder.d.ts +++ b/packages/devextreme/js/ui/filter_builder.d.ts @@ -487,7 +487,7 @@ export interface dxFilterBuilderField { * @default undefined * @public */ - filterOperations?: Array | undefined; + filterOperations?: Array; /** * @docid * @default "" diff --git a/packages/devextreme/js/ui/gantt.d.ts b/packages/devextreme/js/ui/gantt.d.ts index b461be6f4fa1..0782fd0473f6 100644 --- a/packages/devextreme/js/ui/gantt.d.ts +++ b/packages/devextreme/js/ui/gantt.d.ts @@ -1045,7 +1045,7 @@ export interface dxGanttOptions extends WidgetOptions { * @default undefined * @public */ - stripLines?: Array | undefined; + stripLines?: Array; /** * @docid * @type_function_return string|Element|jQuery diff --git a/packages/devextreme/js/ui/number_box.d.ts b/packages/devextreme/js/ui/number_box.d.ts index 4dc1ba31921c..bc9fb5903a7b 100644 --- a/packages/devextreme/js/ui/number_box.d.ts +++ b/packages/devextreme/js/ui/number_box.d.ts @@ -160,7 +160,7 @@ export interface dxNumberBoxOptions extends dxTextEditorOptions { * @default undefined * @public */ - buttons?: Array | undefined; + buttons?: Array; /** * @docid * @default "" diff --git a/packages/devextreme/js/viz/chart.d.ts b/packages/devextreme/js/viz/chart.d.ts index fe6c80d6c9d8..ef1119c12aa4 100644 --- a/packages/devextreme/js/viz/chart.d.ts +++ b/packages/devextreme/js/viz/chart.d.ts @@ -1367,7 +1367,7 @@ export type ArgumentAxis = CommonAxisSettings & { * @notUsedInTheme * @public */ - breaks?: Array | undefined; + breaks?: Array; /** * @docid dxChartOptions.argumentAxis.categories * @public @@ -1399,7 +1399,7 @@ export type ArgumentAxis = CommonAxisSettings & { * @default undefined * @public */ - holidays?: Array | Array | undefined; + holidays?: Array | Array; /** * @docid dxChartOptions.argumentAxis.hoverMode * @default 'none' @@ -1475,7 +1475,7 @@ export type ArgumentAxis = CommonAxisSettings & { * @default undefined * @public */ - singleWorkdays?: Array | Array | undefined; + singleWorkdays?: Array | Array; /** * @docid dxChartOptions.argumentAxis.strips * @type Array @@ -2468,7 +2468,7 @@ export type ValueAxis = CommonAxisSettings & { * @notUsedInTheme * @public */ - breaks?: Array | undefined; + breaks?: Array; /** * @docid dxChartOptions.valueAxis.categories * @public diff --git a/packages/devextreme/js/viz/gauges/base_gauge.d.ts b/packages/devextreme/js/viz/gauges/base_gauge.d.ts index 32c676cfd219..9c8db391b798 100644 --- a/packages/devextreme/js/viz/gauges/base_gauge.d.ts +++ b/packages/devextreme/js/viz/gauges/base_gauge.d.ts @@ -112,7 +112,7 @@ export interface BaseGaugeOptions extends BaseWidgetOptions | undefined; + subvalues?: Array; /** * @docid * @type object @@ -234,14 +234,14 @@ export interface BaseGaugeScale { * @notUsedInTheme * @public */ - customMinorTicks?: Array | undefined; + customMinorTicks?: Array; /** * @docid BaseGaugeOptions.scale.customTicks * @default undefined * @notUsedInTheme * @public */ - customTicks?: Array | undefined; + customTicks?: Array; /** * @docid BaseGaugeOptions.scale.endValue * @default 100 diff --git a/packages/devextreme/js/viz/range_selector.d.ts b/packages/devextreme/js/viz/range_selector.d.ts index 3c1ce23b73b5..ee84c775a622 100644 --- a/packages/devextreme/js/viz/range_selector.d.ts +++ b/packages/devextreme/js/viz/range_selector.d.ts @@ -459,7 +459,7 @@ export interface dxRangeSelectorOptions extends BaseWidgetOptions | undefined; + breaks?: Array; /** * @docid */ @@ -479,7 +479,7 @@ export interface dxRangeSelectorOptions extends BaseWidgetOptions | Array | undefined; + holidays?: Array | Array; /** * @docid */ @@ -633,7 +633,7 @@ export interface dxRangeSelectorOptions extends BaseWidgetOptions | Array | undefined; + singleWorkdays?: Array | Array; /** * @docid * @default undefined diff --git a/packages/devextreme/js/viz/tree_map.d.ts b/packages/devextreme/js/viz/tree_map.d.ts index 337112ded5de..c412eb392cc1 100644 --- a/packages/devextreme/js/viz/tree_map.d.ts +++ b/packages/devextreme/js/viz/tree_map.d.ts @@ -231,7 +231,7 @@ export interface dxTreeMapOptions extends BaseWidgetOptions { * @docid * @default undefined */ - range?: Array | undefined; + range?: Array; /** * @docid * @default undefined diff --git a/packages/devextreme/js/viz/vector_map.d.ts b/packages/devextreme/js/viz/vector_map.d.ts index 3a4473c3685b..e6bc4a43adf4 100644 --- a/packages/devextreme/js/viz/vector_map.d.ts +++ b/packages/devextreme/js/viz/vector_map.d.ts @@ -362,7 +362,7 @@ export interface dxVectorMapOptions extends BaseWidgetOptions { * @notUsedInTheme * @public */ - bounds?: Array | undefined; + bounds?: Array; /** * @docid * @default [0, 0] @@ -756,7 +756,7 @@ export interface dxVectorMapCommonAnnotationConfig extends BaseWidgetAnnotationC * @default undefined * @public */ - coordinates?: Array | undefined; + coordinates?: Array; /** * @docid * @type_function_return object diff --git a/packages/devextreme/ts/dx.all.d.ts b/packages/devextreme/ts/dx.all.d.ts index 5ad5353e0eb6..f0091b90021a 100644 --- a/packages/devextreme/ts/dx.all.d.ts +++ b/packages/devextreme/ts/dx.all.d.ts @@ -2422,7 +2422,6 @@ declare module DevExpress.common.charts { */ height?: | number - | undefined | { /** * [descr:dxChartSeriesTypes.CommonSeries.point.image.height.rangeMaxPoint] @@ -2765,7 +2764,7 @@ declare module DevExpress.common.grids { /** * [descr:GridBaseColumn.filterOperations] */ - filterOperations?: Array | undefined; + filterOperations?: Array; /** * [descr:GridBaseColumn.filterType] */ @@ -2777,7 +2776,7 @@ declare module DevExpress.common.grids { /** * [descr:GridBaseColumn.filterValues] */ - filterValues?: Array | undefined; + filterValues?: Array; /** * [descr:GridBaseColumn.fixed] */ @@ -9594,7 +9593,7 @@ declare module DevExpress.ui { /** * [descr:dxChatOptions.alerts] */ - alerts?: Array | undefined; + alerts?: Array; /** * [descr:dxChatOptions.typingUsers] */ @@ -13353,12 +13352,9 @@ declare module DevExpress.ui { /** * [descr:dxDiagramOptions.contextMenu.commands] */ - commands?: - | Array< - | DevExpress.ui.dxDiagram.CustomCommand - | DevExpress.ui.dxDiagram.Command - > - | undefined; + commands?: Array< + DevExpress.ui.dxDiagram.CustomCommand | DevExpress.ui.dxDiagram.Command + >; /** * [descr:dxDiagramOptions.contextMenu.enabled] */ @@ -14008,12 +14004,9 @@ declare module DevExpress.ui { /** * [descr:dxDiagramOptions.mainToolbar.commands] */ - commands?: - | Array< - | DevExpress.ui.dxDiagram.CustomCommand - | DevExpress.ui.dxDiagram.Command - > - | undefined; + commands?: Array< + DevExpress.ui.dxDiagram.CustomCommand | DevExpress.ui.dxDiagram.Command + >; /** * [descr:dxDiagramOptions.mainToolbar.visible] */ @@ -14026,12 +14019,9 @@ declare module DevExpress.ui { /** * [descr:dxDiagramOptions.historyToolbar.commands] */ - commands?: - | Array< - | DevExpress.ui.dxDiagram.CustomCommand - | DevExpress.ui.dxDiagram.Command - > - | undefined; + commands?: Array< + DevExpress.ui.dxDiagram.CustomCommand | DevExpress.ui.dxDiagram.Command + >; /** * [descr:dxDiagramOptions.historyToolbar.visible] */ @@ -14044,12 +14034,9 @@ declare module DevExpress.ui { /** * [descr:dxDiagramOptions.viewToolbar.commands] */ - commands?: - | Array< - | DevExpress.ui.dxDiagram.CustomCommand - | DevExpress.ui.dxDiagram.Command - > - | undefined; + commands?: Array< + DevExpress.ui.dxDiagram.CustomCommand | DevExpress.ui.dxDiagram.Command + >; /** * [descr:dxDiagramOptions.viewToolbar.visible] */ @@ -14085,8 +14072,7 @@ declare module DevExpress.ui { */ title?: string; }> - | Array - | undefined; + | Array; /** * [descr:dxDiagramOptions.toolbox.shapeIconsPerRow] */ @@ -14121,7 +14107,7 @@ declare module DevExpress.ui { /** * [descr:dxDiagramOptions.zoomLevel.items] */ - items?: Array | undefined; + items?: Array; /** * [descr:dxDiagramOptions.zoomLevel.value] */ @@ -14949,12 +14935,10 @@ declare module DevExpress.ui { /** * [descr:dxDropDownEditorOptions.buttons] */ - buttons?: - | Array< - | DevExpress.ui.dxDropDownEditor.DropDownPredefinedButton - | DevExpress.common.TextEditorButton - > - | undefined; + buttons?: Array< + | DevExpress.ui.dxDropDownEditor.DropDownPredefinedButton + | DevExpress.common.TextEditorButton + >; /** * [descr:dxDropDownEditorOptions.deferRendering] */ @@ -16657,9 +16641,9 @@ declare module DevExpress.ui { /** * [descr:dxFilterBuilderField.filterOperations] */ - filterOperations?: - | Array - | undefined; + filterOperations?: Array< + DevExpress.ui.dxFilterBuilder.FilterBuilderOperation | string + >; /** * [descr:dxFilterBuilderField.format] */ @@ -18972,7 +18956,7 @@ declare module DevExpress.ui { /** * [descr:dxGanttOptions.stripLines] */ - stripLines?: Array | undefined; + stripLines?: Array; /** * [descr:dxGanttOptions.taskTooltipContentTemplate] */ @@ -21640,12 +21624,10 @@ declare module DevExpress.ui { /** * [descr:dxNumberBoxOptions.buttons] */ - buttons?: - | Array< - | DevExpress.ui.dxNumberBox.NumberBoxPredefinedButton - | DevExpress.common.TextEditorButton - > - | undefined; + buttons?: Array< + | DevExpress.ui.dxNumberBox.NumberBoxPredefinedButton + | DevExpress.common.TextEditorButton + >; /** * [descr:dxNumberBoxOptions.format] */ @@ -31602,7 +31584,7 @@ declare module DevExpress.viz { /** * [descr:BaseGaugeOptions.subvalues] */ - subvalues?: Array | undefined; + subvalues?: Array; /** * [descr:BaseGaugeOptions.tooltip] */ @@ -31663,11 +31645,11 @@ declare module DevExpress.viz { /** * [descr:BaseGaugeOptions.scale.customMinorTicks] */ - customMinorTicks?: Array | undefined; + customMinorTicks?: Array; /** * [descr:BaseGaugeOptions.scale.customTicks] */ - customTicks?: Array | undefined; + customTicks?: Array; /** * [descr:BaseGaugeOptions.scale.endValue] */ @@ -33373,7 +33355,7 @@ declare module DevExpress.viz { /** * [descr:dxChartOptions.argumentAxis.breaks] */ - breaks?: Array | undefined; + breaks?: Array; /** * [descr:dxChartOptions.argumentAxis.categories] */ @@ -33393,7 +33375,7 @@ declare module DevExpress.viz { /** * [descr:dxChartOptions.argumentAxis.holidays] */ - holidays?: Array | Array | undefined; + holidays?: Array | Array; /** * [descr:dxChartOptions.argumentAxis.hoverMode] */ @@ -33441,7 +33423,7 @@ declare module DevExpress.viz { /** * [descr:dxChartOptions.argumentAxis.singleWorkdays] */ - singleWorkdays?: Array | Array | undefined; + singleWorkdays?: Array | Array; /** * [descr:dxChartOptions.argumentAxis.strips] */ @@ -34340,7 +34322,7 @@ declare module DevExpress.viz { /** * [descr:dxChartOptions.valueAxis.breaks] */ - breaks?: Array | undefined; + breaks?: Array; /** * [descr:dxChartOptions.valueAxis.categories] */ @@ -40303,7 +40285,7 @@ declare module DevExpress.viz { /** * [descr:dxRangeSelectorOptions.scale.breaks] */ - breaks?: Array | undefined; + breaks?: Array; /** * [descr:dxRangeSelectorOptions.scale.categories] */ @@ -40319,7 +40301,7 @@ declare module DevExpress.viz { /** * [descr:dxRangeSelectorOptions.scale.holidays] */ - holidays?: Array | Array | undefined; + holidays?: Array | Array; /** * [descr:dxRangeSelectorOptions.scale.label] */ @@ -40449,7 +40431,7 @@ declare module DevExpress.viz { /** * [descr:dxRangeSelectorOptions.scale.singleWorkdays] */ - singleWorkdays?: Array | Array | undefined; + singleWorkdays?: Array | Array; /** * [descr:dxRangeSelectorOptions.scale.startValue] */ @@ -41602,7 +41584,7 @@ declare module DevExpress.viz { /** * [descr:dxTreeMapOptions.colorizer.range] */ - range?: Array | undefined; + range?: Array; /** * [descr:dxTreeMapOptions.colorizer.type] */ @@ -42154,7 +42136,7 @@ declare module DevExpress.viz { /** * [descr:dxVectorMapCommonAnnotationConfig.coordinates] */ - coordinates?: Array | undefined; + coordinates?: Array; /** * [descr:dxVectorMapCommonAnnotationConfig.customizeTooltip] */ @@ -42204,7 +42186,7 @@ declare module DevExpress.viz { /** * [descr:dxVectorMapOptions.bounds] */ - bounds?: Array | undefined; + bounds?: Array; /** * [descr:dxVectorMapOptions.center] */