Skip to content

Commit

Permalink
Add missing undefined
Browse files Browse the repository at this point in the history
  • Loading branch information
alexslavr committed Nov 4, 2024
1 parent 96772e3 commit d9bb768
Show file tree
Hide file tree
Showing 8 changed files with 862 additions and 750 deletions.
18 changes: 9 additions & 9 deletions packages/devextreme/js/common/charts.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -470,45 +470,45 @@ export interface SeriesPoint {
* @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
* @public
*/
image?: string | {
image?: string | undefined | {
/**
* @docid dxChartSeriesTypes.CommonSeries.point.image.height
* @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 | {
height?: number | undefined | {
/**
* @docid dxChartSeriesTypes.CommonSeries.point.image.height.rangeMaxPoint
* @default undefined
* @propertyOf dxChartSeriesTypes.RangeAreaSeries
*/
rangeMaxPoint?: number;
rangeMaxPoint?: number | undefined;
/**
* @docid dxChartSeriesTypes.CommonSeries.point.image.height.rangeMinPoint
* @default undefined
* @propertyOf dxChartSeriesTypes.RangeAreaSeries
*/
rangeMinPoint?: number;
} | undefined;
rangeMinPoint?: number | undefined;
};
/**
* @docid dxChartSeriesTypes.CommonSeries.point.image.url
* @default undefined
* @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
*/
url?: string | {
url?: string | undefined | {
/**
* @docid dxChartSeriesTypes.CommonSeries.point.image.url.rangeMaxPoint
* @default undefined
* @propertyOf dxChartSeriesTypes.RangeAreaSeries
*/
rangeMaxPoint?: string;
rangeMaxPoint?: string | undefined;
/**
* @docid dxChartSeriesTypes.CommonSeries.point.image.url.rangeMinPoint
* @default undefined
* @propertyOf dxChartSeriesTypes.RangeAreaSeries
*/
rangeMinPoint?: string;
} | undefined;
rangeMinPoint?: string | undefined;
};
/**
* @docid dxChartSeriesTypes.CommonSeries.point.image.width
* @default 30
Expand Down
2 changes: 1 addition & 1 deletion packages/devextreme/js/common/grids.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -515,7 +515,7 @@ export type ColumnChooser = {
* @docid GridBaseOptions.columnChooser.position
* @default undefined
*/
position?: PositionConfig;
position?: PositionConfig | undefined;
/**
* @docid GridBaseOptions.columnChooser.search
*/
Expand Down
2 changes: 1 addition & 1 deletion packages/devextreme/js/ui/draggable.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,7 @@ export interface dxDraggableOptions extends DraggableBaseOptions<dxDraggable> {
* @default undefined
* @public
*/
dragTemplate?: template | ((dragInfo: DragTemplateData, containerElement: DxElement) => string | UserDefinedElement | undefined);
dragTemplate?: template | ((dragInfo: DragTemplateData, containerElement: DxElement) => string | UserDefinedElement) | undefined;
/**
* @docid
* @default null
Expand Down
2 changes: 1 addition & 1 deletion packages/devextreme/js/ui/html_editor.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ export interface dxHtmlEditorOptions extends EditorOptions<dxHtmlEditor> {
* @default undefined
* @public
*/
converter?: Converter;
converter?: Converter | undefined;
/**
* @docid
* @default true
Expand Down
2 changes: 1 addition & 1 deletion packages/devextreme/js/ui/sortable.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -284,7 +284,7 @@ export interface dxSortableOptions extends DraggableBaseOptions<dxSortable> {
* @default undefined
* @public
*/
dragTemplate?: template | ((dragInfo: DragTemplateData, containerElement: DxElement) => string | UserDefinedElement | undefined);
dragTemplate?: template | ((dragInfo: DragTemplateData, containerElement: DxElement) => string | UserDefinedElement) | undefined;
/**
* @docid
* @default "push"
Expand Down
4 changes: 2 additions & 2 deletions packages/devextreme/js/viz/chart.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1596,7 +1596,7 @@ export type ArgumentAxisConstantLines = CommonAxisSettingsConstantLineStyle & {
* @default undefined
* @public
*/
value?: number | Date | string;
value?: number | Date | string | undefined;
};
/**
* @public
Expand All @@ -1615,7 +1615,7 @@ export type ArgumentAxisConstantLinesLabel = CommonAxisSettingsConstantLineStyle
* @default undefined
* @public
*/
text?: string;
text?: string | undefined;
/**
* @docid dxChartOptions.argumentAxis.constantLines.label.verticalAlignment
* @default 'top'
Expand Down
6 changes: 3 additions & 3 deletions packages/devextreme/js/viz/vector_map.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -447,7 +447,7 @@ export interface dxVectorMapOptions extends BaseWidgetOptions<dxVectorMap> {
* @docid
* @default undefined
*/
colorGroupingField?: string;
colorGroupingField?: string | undefined;
/**
* @docid
* @default undefined
Expand All @@ -462,7 +462,7 @@ export interface dxVectorMapOptions extends BaseWidgetOptions<dxVectorMap> {
* @docid
* @default undefined
*/
dataField?: string;
dataField?: string | undefined;
/**
* @docid
* @type object|Store|DataSource|DataSourceOptions|string|Array<any>|null
Expand Down Expand Up @@ -576,7 +576,7 @@ export interface dxVectorMapOptions extends BaseWidgetOptions<dxVectorMap> {
* @docid
* @default undefined
*/
sizeGroupingField?: string;
sizeGroupingField?: string | undefined;
/**
* @docid
* @default undefined
Expand Down
Loading

0 comments on commit d9bb768

Please sign in to comment.