Skip to content

Commit

Permalink
Add type undefined to @type doctags
Browse files Browse the repository at this point in the history
  • Loading branch information
alexslavr committed Nov 4, 2024
1 parent db2fdd1 commit 96772e3
Show file tree
Hide file tree
Showing 12 changed files with 19 additions and 19 deletions.
2 changes: 1 addition & 1 deletion packages/devextreme/js/common.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -758,7 +758,7 @@ export type TextEditorButton = {
/**
* @public
* @docid
* @type dxButtonOptions
* @type dxButtonOptions | undefined
* @default undefined
*/
options?: ButtonProperties | undefined;
Expand Down
2 changes: 1 addition & 1 deletion packages/devextreme/js/common/charts.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -251,7 +251,7 @@ export type VisualRange = {
/**
* @docid
* @inherits VizTimeInterval
* @type number|object|Enums.TimeInterval
* @type number|object|Enums.TimeInterval|undefined
* @default undefined
* @public
*/
Expand Down
6 changes: 3 additions & 3 deletions packages/devextreme/js/common/grids.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -719,7 +719,7 @@ export type ColumnHeaderFilter = {
* @docid GridBaseColumn.headerFilter.dataSource
* @type_function_param1_field component:object
* @default undefined
* @type Array<any>|Store|DataSourceOptions|Function|null
* @type Array<any>|Store|DataSourceOptions|Function|null|undefined
*/
dataSource?: FilterLookupDataSource<any> | ((options: { component?: any; dataSource?: DataSourceOptions | null }) => void) | undefined;
/**
Expand Down Expand Up @@ -758,7 +758,7 @@ export type ColumnHeaderFilter = {
export type ColumnHeaderFilterSearchConfig = HeaderFilterSearchConfig & {
/**
* @docid
* @type getter|Array<getter>
* @type getter|Array<getter>|undefined
* @default undefined
*/
searchExpr?: string | Function | Array<string | Function> | undefined;
Expand All @@ -779,7 +779,7 @@ export type ColumnLookup = {
* @type_function_param1_field data:object
* @default undefined
* @type_function_return Array<any>|Store|DataSourceOptions
* @type Array<any>|Store|DataSourceOptions|Function|null
* @type Array<any>|Store|DataSourceOptions|Function|null|undefined
*/
dataSource?: FilterLookupDataSource<any> | ((options: { data?: any; key?: any }) => FilterLookupDataSource<any>) | null | undefined;
/**
Expand Down
2 changes: 1 addition & 1 deletion packages/devextreme/js/ui/box.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ export interface dxBoxItem<TKey = any> extends CollectionWidgetItem {
* @docid
* @default undefined
* @public
* @type dxBoxOptions
* @type dxBoxOptions | undefined
*/
box?: dxBoxOptions<any, TKey> | undefined;
/**
Expand Down
2 changes: 1 addition & 1 deletion packages/devextreme/js/ui/data_grid.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1432,7 +1432,7 @@ export type dxDataGridOptions<TRowData = any, TKey = any> = Omit<GridBaseOptions
summary?: Summary<TRowData, TKey>;
/**
* @docid
* @type dxDataGridToolbar
* @type dxDataGridToolbar | undefined
* @default undefined
* @public
*/
Expand Down
2 changes: 1 addition & 1 deletion packages/devextreme/js/ui/defer_rendering.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ export interface dxDeferRenderingOptions extends WidgetOptions<dxDeferRendering>
onShown?: ((e: ShownEvent) => void);
/**
* @docid
* @type DxPromise|bool
* @type DxPromise|bool|undefined
* @default undefined
* @public
*/
Expand Down
4 changes: 2 additions & 2 deletions packages/devextreme/js/ui/file_manager.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -967,7 +967,7 @@ export interface dxFileManagerDetailsColumn {
sortIndex?: number | undefined;
/**
* @docid
* @type Enums.SortOrder
* @type Enums.SortOrder | undefined
* @default undefined
* @acceptValues undefined
* @public
Expand Down
2 changes: 1 addition & 1 deletion packages/devextreme/js/ui/filter_builder.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -508,7 +508,7 @@ export interface dxFilterBuilderField {
/**
* @docid
* @default undefined
* @type Array<any> | Store | DataSourceOptions
* @type Array<any> | Store | DataSourceOptions | undefined
*/
dataSource?: FilterLookupDataSource<any> | null | undefined;
/**
Expand Down
2 changes: 1 addition & 1 deletion packages/devextreme/js/ui/splitter.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,7 @@ export interface dxSplitterItem<TKey = any> extends CollectionWidgetItem {
* @docid
* @default undefined
* @public
* @type dxSplitterOptions
* @type dxSplitterOptions | undefined
*/
splitter?: Properties<any, TKey> | undefined;
/**
Expand Down
2 changes: 1 addition & 1 deletion packages/devextreme/js/ui/tree_list.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1140,7 +1140,7 @@ export type dxTreeListOptions<TRowData = any, TKey = any> = Omit<GridBaseOptions
selection?: Selection;
/**
* @docid
* @type dxTreeListToolbar
* @type dxTreeListToolbar | undefined
* @default undefined
* @public
*/
Expand Down
8 changes: 4 additions & 4 deletions packages/devextreme/js/viz/chart.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1427,12 +1427,12 @@ export type ArgumentAxis = CommonAxisSettings & {
/**
* @docid dxChartOptions.argumentAxis.minVisualRangeLength
* @inherits VizTimeInterval
* @type number|object|Enums.TimeInterval
* @type number|object|Enums.TimeInterval|undefined
* @default undefined
* @notUsedInTheme
* @public
*/
minVisualRangeLength?: TimeIntervalConfig | undefined;
minVisualRangeLength?: TimeIntervalConfig;
/**
* @docid dxChartOptions.argumentAxis.minorTickCount
* @default undefined
Expand Down Expand Up @@ -2522,12 +2522,12 @@ export type ValueAxis = CommonAxisSettings & {
/**
* @docid dxChartOptions.valueAxis.minVisualRangeLength
* @inherits VizTimeInterval
* @type number|object|Enums.TimeInterval
* @type number|object|Enums.TimeInterval|undefined
* @default undefined
* @notUsedInTheme
* @public
*/
minVisualRangeLength?: TimeIntervalConfig | undefined;
minVisualRangeLength?: TimeIntervalConfig;
/**
* @docid dxChartOptions.valueAxis.minorTickCount
* @default undefined
Expand Down
4 changes: 2 additions & 2 deletions packages/devextreme/js/viz/polar_chart.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1290,12 +1290,12 @@ export type ValueAxis = CommonAxisSettings & {
/**
* @docid dxPolarChartOptions.valueAxis.minVisualRangeLength
* @inherits VizTimeInterval
* @type number|object|Enums.TimeInterval
* @type number|object|Enums.TimeInterval|undefined
* @default undefined
* @notUsedInTheme
* @public
*/
minVisualRangeLength?: TimeIntervalConfig | undefined;
minVisualRangeLength?: TimeIntervalConfig;
/**
* @docid dxPolarChartOptions.valueAxis.minorTickCount
* @default undefined
Expand Down

0 comments on commit 96772e3

Please sign in to comment.