Skip to content

Commit

Permalink
react big calender event fields not mandatory (DefinitelyTyped#35721)
Browse files Browse the repository at this point in the history
* react big calender event fields not mandatory

* add name
  • Loading branch information
marknelissen authored and Konch Roman committed Aug 13, 2019
1 parent 78f6da4 commit d4b8c7e
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions types/react-big-calendar/index.d.ts
Expand Up @@ -11,6 +11,7 @@
// Tomas Hubelbauer <https://github.com/TomasHubelbauer>
// Lucas Silva Souza <https://github.com/lksilva>
// Siarhey Belofost <https://github.com/SergeyBelofost>
// Mark Nelissen <https://github.com/marknelissen>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// TypeScript Version: 2.8
import { Validator } from 'prop-types';
Expand All @@ -33,9 +34,9 @@ export type Navigate = 'PREV' | 'NEXT' | 'TODAY' | 'DATE';

export interface Event {
allDay?: boolean;
title: string;
start: Date;
end: Date;
title?: string;
start?: Date;
end?: Date;
resource?: any;
}
export interface DateRange {
Expand Down

0 comments on commit d4b8c7e

Please sign in to comment.