Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(react-scheduler): Fix type for endDate in AppointmentModel #3518

Merged
merged 5 commits into from
Feb 15, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions packages/dx-react-scheduler/api/dx-react-scheduler.api.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import * as React_2 from 'react';
// @public
export type AllDayCell = {
startDate: SchedulerDateTime;
endDate: SchedulerDateTime;
endDate?: SchedulerDateTime;
groupingInfo?: Group[];
hasRightBorder?: boolean;
endOfGroup?: boolean;
Expand Down Expand Up @@ -293,7 +293,7 @@ export interface AppointmentMeta {
export interface AppointmentModel {
[propertyName: string]: any;
allDay?: boolean;
endDate: SchedulerDateTime;
endDate?: SchedulerDateTime;
exDate?: string | undefined;
id?: number | string;
rRule?: string | undefined;
Expand Down
4 changes: 2 additions & 2 deletions packages/dx-scheduler-core/src/types/scheduler-core.types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ export interface AppointmentModel {
/** The start date. */
startDate: SchedulerDateTime;
/** The end date. */
endDate: SchedulerDateTime;
endDate?: SchedulerDateTime;
/** The title. */
title?: string;
/** The all day flag. */
Expand Down Expand Up @@ -54,7 +54,7 @@ export type AllDayCell = {
/** The cell’s start time. */
startDate: SchedulerDateTime;
/** The cell’s end time. */
endDate: SchedulerDateTime;
endDate?: SchedulerDateTime;
/** Information about the cell's grouping. */
groupingInfo?: Group[];
/** \@deprecated Specifies whether the cell has the right border. */
Expand Down