Skip to content

Commit

Permalink
Add undefined type to all fields with doctag "default undefined"
Browse files Browse the repository at this point in the history
  • Loading branch information
alexslavr committed Nov 4, 2024
1 parent 301d8c0 commit bbad7aa
Show file tree
Hide file tree
Showing 68 changed files with 661 additions and 661 deletions.
4 changes: 2 additions & 2 deletions packages/devextreme/js/animation/fx.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ export type AnimationConfig = {
* @default undefined
* @public
*/
direction?: Direction;
direction?: Direction | undefined;
/**
* @docid
* @default 400
Expand All @@ -92,7 +92,7 @@ export type AnimationConfig = {
* @default undefined
* @public
*/
staggerDelay?: number;
staggerDelay?: number | undefined;
/**
* @docid
* @public
Expand Down
6 changes: 3 additions & 3 deletions packages/devextreme/js/common.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -289,7 +289,7 @@ export type GlobalConfig = {
* @default undefined
* @public
*/
editorStylingMode?: EditorStyle;
editorStylingMode?: EditorStyle | undefined;
/**
* @docid
* @public
Expand Down Expand Up @@ -754,14 +754,14 @@ export type TextEditorButton = {
* @docid
* @default undefined
*/
name?: string;
name?: string | undefined;
/**
* @public
* @docid
* @type dxButtonOptions
* @default undefined
*/
options?: ButtonProperties;
options?: ButtonProperties | undefined;
};

/**
Expand Down
52 changes: 26 additions & 26 deletions packages/devextreme/js/common/charts.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -142,13 +142,13 @@ export type ScaleBreak = {
* @default undefined
* @public
*/
endValue?: number | Date | string;
endValue?: number | Date | string | undefined;
/**
* @docid
* @default undefined
* @public
*/
startValue?: number | Date | string;
startValue?: number | Date | string | undefined;
};

/**
Expand Down Expand Up @@ -219,7 +219,7 @@ export type TimeIntervalConfig = number | {
weeks?: number;
/** @docid VizTimeInterval.years */
years?: number;
} | TimeInterval;
} | TimeInterval | undefined;

/**
* @public
Expand Down Expand Up @@ -247,7 +247,7 @@ export type VisualRange = {
* @fires BaseWidgetOptions.onOptionChanged
* @public
*/
endValue?: number | Date | string;
endValue?: number | Date | string | undefined;
/**
* @docid
* @inherits VizTimeInterval
Expand All @@ -262,7 +262,7 @@ export type VisualRange = {
* @fires BaseWidgetOptions.onOptionChanged
* @public
*/
startValue?: number | Date | string;
startValue?: number | Date | string | undefined;
};

/**
Expand Down Expand Up @@ -295,13 +295,13 @@ export type ChartsColor = {
* @default undefined
* @public
*/
base?: string;
base?: string | undefined;
/**
* @docid
* @default undefined
* @public
*/
fillId?: string;
fillId?: string | undefined;
};

/**
Expand Down Expand Up @@ -331,13 +331,13 @@ export type GradientColor = {
* @default undefined
* @public
*/
offset: number | string;
offset: number | string | undefined;
/**
* @docid
* @default undefined
* @public
*/
color: string;
color: string | undefined;
};

/**
Expand Down Expand Up @@ -393,7 +393,7 @@ export interface SeriesPoint {
* @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
*/
color?: string;
color?: string | undefined;
/**
* @docid dxChartSeriesTypes.CommonSeries.point.border.visible
* @default false
Expand All @@ -413,7 +413,7 @@ 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
*/
color?: string | ChartsColor;
color?: string | ChartsColor | undefined;
/**
* @docid dxChartSeriesTypes.CommonSeries.point.hoverMode
* @default 'onlyPoint'
Expand All @@ -437,7 +437,7 @@ export interface SeriesPoint {
* @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
*/
color?: string;
color?: string | undefined;
/**
* @docid dxChartSeriesTypes.CommonSeries.point.hoverStyle.border.visible
* @default true
Expand All @@ -456,13 +456,13 @@ export interface SeriesPoint {
* @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
*/
color?: string | ChartsColor;
color?: string | ChartsColor | undefined;
/**
* @docid dxChartSeriesTypes.CommonSeries.point.hoverStyle.size
* @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
*/
size?: number;
size?: number | undefined;
};
/**
* @docid dxChartSeriesTypes.CommonSeries.point.image
Expand All @@ -489,7 +489,7 @@ export interface SeriesPoint {
* @propertyOf dxChartSeriesTypes.RangeAreaSeries
*/
rangeMinPoint?: number;
};
} | undefined;
/**
* @docid dxChartSeriesTypes.CommonSeries.point.image.url
* @default undefined
Expand All @@ -508,7 +508,7 @@ export interface SeriesPoint {
* @propertyOf dxChartSeriesTypes.RangeAreaSeries
*/
rangeMinPoint?: string;
};
} | undefined;
/**
* @docid dxChartSeriesTypes.CommonSeries.point.image.width
* @default 30
Expand All @@ -520,13 +520,13 @@ export interface SeriesPoint {
* @default undefined
* @propertyOf dxChartSeriesTypes.RangeAreaSeries
*/
rangeMaxPoint?: number;
rangeMaxPoint?: number | undefined;
/**
* @docid dxChartSeriesTypes.CommonSeries.point.image.width.rangeMinPoint
* @default undefined
* @propertyOf dxChartSeriesTypes.RangeAreaSeries
*/
rangeMinPoint?: number;
rangeMinPoint?: number | undefined;
};
};
/**
Expand All @@ -552,7 +552,7 @@ export interface SeriesPoint {
* @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
*/
color?: string;
color?: string | undefined;
/**
* @docid dxChartSeriesTypes.CommonSeries.point.selectionStyle.border.visible
* @default true
Expand All @@ -571,13 +571,13 @@ export interface SeriesPoint {
* @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
*/
color?: string | ChartsColor;
color?: string | ChartsColor | undefined;
/**
* @docid dxChartSeriesTypes.CommonSeries.point.selectionStyle.size
* @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
*/
size?: number;
size?: number | undefined;
};
/**
* @docid dxChartSeriesTypes.CommonSeries.point.size
Expand Down Expand Up @@ -618,13 +618,13 @@ export interface SeriesLabel {
* @default undefined
* @public
*/
argumentFormat?: Format;
argumentFormat?: Format | undefined;
/**
* @docid dxChartSeriesTypes.CommonSeries.label.backgroundColor
* @default undefined
* @public
*/
backgroundColor?: string;
backgroundColor?: string | undefined;
/**
* @docid dxChartSeriesTypes.CommonSeries.label.border
* @public
Expand Down Expand Up @@ -662,7 +662,7 @@ export interface SeriesLabel {
* @default undefined
* @propertyOf dxChartSeriesTypes.AreaSeries,dxChartSeriesTypes.BarSeries,dxChartSeriesTypes.BubbleSeries,dxChartSeriesTypes.FullStackedAreaSeries,dxChartSeriesTypes.FullStackedBarSeries,dxChartSeriesTypes.FullStackedLineSeries,dxChartSeriesTypes.LineSeries,dxChartSeriesTypes.RangeAreaSeries,dxChartSeriesTypes.RangeBarSeries,dxChartSeriesTypes.ScatterSeries,dxChartSeriesTypes.SplineAreaSeries,dxChartSeriesTypes.SplineSeries,dxChartSeriesTypes.StackedAreaSeries,dxChartSeriesTypes.StackedBarSeries,dxChartSeriesTypes.StackedLineSeries,dxChartSeriesTypes.StepAreaSeries,dxChartSeriesTypes.StackedSplineAreaSeries,dxChartSeriesTypes.FullStackedSplineAreaSeries,dxChartSeriesTypes.StackedSplineSeries,dxChartSeriesTypes.FullStackedSplineSeries,dxChartSeriesTypes.StepLineSeries
*/
color?: string;
color?: string | undefined;
/**
* @docid dxChartSeriesTypes.CommonSeries.label.connector.visible
* @default false
Expand Down Expand Up @@ -695,7 +695,7 @@ export interface SeriesLabel {
* @default undefined
* @public
*/
format?: Format;
format?: Format | undefined;
/**
* @docid dxChartSeriesTypes.CommonSeries.label.horizontalOffset
* @default 0
Expand Down Expand Up @@ -739,7 +739,7 @@ export interface SeriesLabel {
* @default undefined
* @public
*/
displayFormat?: string;
displayFormat?: string | undefined;
}

/**
Expand Down
Loading

0 comments on commit bbad7aa

Please sign in to comment.