import { CalendarEvent , CalendarEventSharedData } from 'proton-shared/lib/interfaces/calendar' ; export const getIsCalendarEvent = ( event ) : event is CalendarEvent => { return ( event as CalendarEvent ) . SharedEvents !== undefined ; } ;