Open ovaar opened 5 years ago
A workaround following nwshane's example
// `gapicalendar.d.ts` file in my own application
declare namespace gapi.client.calendar {
const acl: gapi.client.calendar.AclResource;
const calendarList: gapi.client.calendar.CalendarListResource;
const calendars: gapi.client.calendar.CalendarsResource;
const channels: gapi.client.calendar.ChannelsResource;
const colors: gapi.client.calendar.ColorsResource;
const events: gapi.client.calendar.EventsResource;
const freebusy: gapi.client.calendar.FreebusyResource;
const settings: gapi.client.calendar.SettingsResource;
}
This repo is abandoned, see #19 and use active fork instead: Maxim-Mazurok/google-api-typings-generator
Please, close this issue if you will, thanks for your cooperation!
Property 'calendar' does not exist on type 'typeof client'.
Example as shown in gapi.client.calendar results in the error above.
Should be: