From 96772e3410b6eb4a3a215db5241079fa8436714d Mon Sep 17 00:00:00 2001 From: alexlavrov Date: Mon, 4 Nov 2024 17:09:04 +0400 Subject: [PATCH] Add type undefined to @type doctags --- packages/devextreme/js/common.d.ts | 2 +- packages/devextreme/js/common/charts.d.ts | 2 +- packages/devextreme/js/common/grids.d.ts | 6 +++--- packages/devextreme/js/ui/box.d.ts | 2 +- packages/devextreme/js/ui/data_grid.d.ts | 2 +- packages/devextreme/js/ui/defer_rendering.d.ts | 2 +- packages/devextreme/js/ui/file_manager.d.ts | 4 ++-- packages/devextreme/js/ui/filter_builder.d.ts | 2 +- packages/devextreme/js/ui/splitter.d.ts | 2 +- packages/devextreme/js/ui/tree_list.d.ts | 2 +- packages/devextreme/js/viz/chart.d.ts | 8 ++++---- packages/devextreme/js/viz/polar_chart.d.ts | 4 ++-- 12 files changed, 19 insertions(+), 19 deletions(-) diff --git a/packages/devextreme/js/common.d.ts b/packages/devextreme/js/common.d.ts index 6a5868c90165..a844b32746f7 100644 --- a/packages/devextreme/js/common.d.ts +++ b/packages/devextreme/js/common.d.ts @@ -758,7 +758,7 @@ export type TextEditorButton = { /** * @public * @docid - * @type dxButtonOptions + * @type dxButtonOptions | undefined * @default undefined */ options?: ButtonProperties | undefined; diff --git a/packages/devextreme/js/common/charts.d.ts b/packages/devextreme/js/common/charts.d.ts index 60cfd7c39690..81bbdf9c5adf 100644 --- a/packages/devextreme/js/common/charts.d.ts +++ b/packages/devextreme/js/common/charts.d.ts @@ -251,7 +251,7 @@ export type VisualRange = { /** * @docid * @inherits VizTimeInterval - * @type number|object|Enums.TimeInterval + * @type number|object|Enums.TimeInterval|undefined * @default undefined * @public */ diff --git a/packages/devextreme/js/common/grids.d.ts b/packages/devextreme/js/common/grids.d.ts index b27d69a6a598..0816d67c54d0 100644 --- a/packages/devextreme/js/common/grids.d.ts +++ b/packages/devextreme/js/common/grids.d.ts @@ -719,7 +719,7 @@ export type ColumnHeaderFilter = { * @docid GridBaseColumn.headerFilter.dataSource * @type_function_param1_field component:object * @default undefined - * @type Array|Store|DataSourceOptions|Function|null + * @type Array|Store|DataSourceOptions|Function|null|undefined */ dataSource?: FilterLookupDataSource | ((options: { component?: any; dataSource?: DataSourceOptions | null }) => void) | undefined; /** @@ -758,7 +758,7 @@ export type ColumnHeaderFilter = { export type ColumnHeaderFilterSearchConfig = HeaderFilterSearchConfig & { /** * @docid - * @type getter|Array + * @type getter|Array|undefined * @default undefined */ searchExpr?: string | Function | Array | undefined; @@ -779,7 +779,7 @@ export type ColumnLookup = { * @type_function_param1_field data:object * @default undefined * @type_function_return Array|Store|DataSourceOptions - * @type Array|Store|DataSourceOptions|Function|null + * @type Array|Store|DataSourceOptions|Function|null|undefined */ dataSource?: FilterLookupDataSource | ((options: { data?: any; key?: any }) => FilterLookupDataSource) | null | undefined; /** diff --git a/packages/devextreme/js/ui/box.d.ts b/packages/devextreme/js/ui/box.d.ts index ac99e11b055c..2d2dd46f805d 100644 --- a/packages/devextreme/js/ui/box.d.ts +++ b/packages/devextreme/js/ui/box.d.ts @@ -169,7 +169,7 @@ export interface dxBoxItem extends CollectionWidgetItem { * @docid * @default undefined * @public - * @type dxBoxOptions + * @type dxBoxOptions | undefined */ box?: dxBoxOptions | undefined; /** diff --git a/packages/devextreme/js/ui/data_grid.d.ts b/packages/devextreme/js/ui/data_grid.d.ts index 36d9bb1bfed5..d6c9816cca23 100644 --- a/packages/devextreme/js/ui/data_grid.d.ts +++ b/packages/devextreme/js/ui/data_grid.d.ts @@ -1432,7 +1432,7 @@ export type dxDataGridOptions = Omit; /** * @docid - * @type dxDataGridToolbar + * @type dxDataGridToolbar | undefined * @default undefined * @public */ diff --git a/packages/devextreme/js/ui/defer_rendering.d.ts b/packages/devextreme/js/ui/defer_rendering.d.ts index 6da5a98d6372..b25c5c73fee7 100644 --- a/packages/devextreme/js/ui/defer_rendering.d.ts +++ b/packages/devextreme/js/ui/defer_rendering.d.ts @@ -90,7 +90,7 @@ export interface dxDeferRenderingOptions extends WidgetOptions onShown?: ((e: ShownEvent) => void); /** * @docid - * @type DxPromise|bool + * @type DxPromise|bool|undefined * @default undefined * @public */ diff --git a/packages/devextreme/js/ui/file_manager.d.ts b/packages/devextreme/js/ui/file_manager.d.ts index dcf1f1fed6c5..a434ab6735d6 100644 --- a/packages/devextreme/js/ui/file_manager.d.ts +++ b/packages/devextreme/js/ui/file_manager.d.ts @@ -923,7 +923,7 @@ export interface dxFileManagerToolbarItem extends dxToolbarItem { export interface dxFileManagerDetailsColumn { /** * @docid - * @type Enums.HorizontalAlignment + * @type Enums.HorizontalAlignment | undefined * @default undefined * @acceptValues undefined * @public @@ -967,7 +967,7 @@ export interface dxFileManagerDetailsColumn { sortIndex?: number | undefined; /** * @docid - * @type Enums.SortOrder + * @type Enums.SortOrder | undefined * @default undefined * @acceptValues undefined * @public diff --git a/packages/devextreme/js/ui/filter_builder.d.ts b/packages/devextreme/js/ui/filter_builder.d.ts index cfa42e21ebc8..eecbab0af99d 100644 --- a/packages/devextreme/js/ui/filter_builder.d.ts +++ b/packages/devextreme/js/ui/filter_builder.d.ts @@ -508,7 +508,7 @@ export interface dxFilterBuilderField { /** * @docid * @default undefined - * @type Array | Store | DataSourceOptions + * @type Array | Store | DataSourceOptions | undefined */ dataSource?: FilterLookupDataSource | null | undefined; /** diff --git a/packages/devextreme/js/ui/splitter.d.ts b/packages/devextreme/js/ui/splitter.d.ts index 68f311ceea89..afaeb0d96b12 100644 --- a/packages/devextreme/js/ui/splitter.d.ts +++ b/packages/devextreme/js/ui/splitter.d.ts @@ -244,7 +244,7 @@ export interface dxSplitterItem extends CollectionWidgetItem { * @docid * @default undefined * @public - * @type dxSplitterOptions + * @type dxSplitterOptions | undefined */ splitter?: Properties | undefined; /** diff --git a/packages/devextreme/js/ui/tree_list.d.ts b/packages/devextreme/js/ui/tree_list.d.ts index c4e6b378ab63..25a8ca704947 100644 --- a/packages/devextreme/js/ui/tree_list.d.ts +++ b/packages/devextreme/js/ui/tree_list.d.ts @@ -1140,7 +1140,7 @@ export type dxTreeListOptions = Omit