Open Lopol2010 opened 6 years ago
I used your generator and see that actual API have gapi.client.sheets instead of .spreadsheets
looks like you can just put this line at the end of gapi.client.sheets file but before two braces like that
target line
}
}
Yeah, that solves it for me too.
Here's a patch-package patch I use https://gist.github.com/epeli/1522d2f40929d928fc24b365e51f2ac8
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!
is this error or im wrong? i have only gapi.client.spreadsheets but actual gapi responses with gapi.client.sheets.spreadsheets . In other words when typing gapi.client.sheets in my VS code i got error and typescript also throws error TS2339: Property 'sheets' does not exist on type 'typeof client'. So can you change namespaces or something