Create a folder CreateAPIEventsDemo and create react webpart install types for graph api as below. which adds dev dependencies to our JSON files. "npm install @microsoft/microsoft-graph-types --save-dev" now go to components-.ts file  We are adding context  context : WebPartContext ------------------------------------------- Created a new file in components folder ICalendarEventsState.ts import   *   as   MicrosoftGraph   from   '@microsoft/microsoft-graph-types' ; export   interface   ICalendarEventsDemoState {      events : MicrosoftGraph . Event []; } We have created ICalendarEventsDemoState interface with events as property with array of events from MicrosoftGraph. for our convenience we import graphapi types  import   *   as   MicrosoftGraph   from   '@microsoft/microsoft-graph-types' ; ---------------- In Main.ts file public   render ():  void  {      c...