Question: I know you can get it on the settings page.
I have multiple calendars on a single account.

I can get the names back with 
service.list\_calendar\_lists(page\_token: page\_token)

but how do I can the calendar ids associated with the names of the calendars

Answer: 
The error is happening also when the `d.ts` are generated `tsc` take all files it found in the output directory and sub-directories by default.

Assuming your output is in the `out` directory, you have to exclude it in the tsconfig.json:

```
"compilerOptions": {
  // All the options you want...

  // Redirect output structure to the directory
  "outDir": "out"

  // Exclude here the directories you want ts do not compile...
  "exclude": [
    "out"
  ]
}

```
My problem was a bit different - adding a new `typescript` file to an existing configuration.  

Turns out there was a problem with an import inside it that caused a cycle and that's why the compilation failed in my case.