File tree Expand file tree Collapse file tree 2 files changed +6
-0
lines changed Expand file tree Collapse file tree 2 files changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -80,6 +80,7 @@ declare namespace GoogleAppsScript {
8080 interface CalendarApp {
8181 Color : typeof Color ;
8282 EventColor : typeof EventColor ;
83+ EventType : typeof EventType ;
8384 GuestStatus : typeof GuestStatus ;
8485 Month : typeof Base . Month ;
8586 Visibility : typeof Visibility ;
Original file line number Diff line number Diff line change @@ -43,6 +43,11 @@ const postTest = (payload: object): string => {
4343const testCalendarAppEventType = ( ) : void => {
4444 const event = CalendarApp . getEventById ( "testevent" ) ;
4545 const type = event . getEventType ( ) ;
46+ const birthdayType = CalendarApp . EventType . BIRTHDAY ;
47+ birthdayType !== type ;
48+
49+ type !== CalendarApp . EventType . FOCUS_TIME ;
50+
4651 type == GoogleAppsScript . Calendar . EventType . OUT_OF_OFFICE ;
4752 // @ts -expect-error
4853 type == GoogleAppsScript . Calendar . EventType . STANDARD ;
You can’t perform that action at this time.
0 commit comments