mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-04-23 04:49:15 +08:00
Changed EventInput.start.timeZone to optional
EventInput.start.timeZone should be marked optional. Seems to be a typo, as the similar EventInput.end.timeZone is correctly marked as optional. Reference: https://developers.google.com/google-apps/calendar/v3/reference/events "For recurring events this field is required and specifies the time zone in which the recurrence is expanded. For single events this field is optional and indicates a custom time zone for the event start/end.".
This commit is contained in:
2
types/gapi.calendar/index.d.ts
vendored
2
types/gapi.calendar/index.d.ts
vendored
@@ -334,7 +334,7 @@ declare namespace gapi.client.calendar {
|
||||
start: {
|
||||
date?: date;
|
||||
dateTime?: datetime;
|
||||
timeZone: string;
|
||||
timeZone?: string;
|
||||
};
|
||||
|
||||
// Optional Properties
|
||||
|
||||
Reference in New Issue
Block a user