Autocomplete Apps Script, Google Advanced Services in VS Code

707 Views Asked by At

I've just started working on GAS projects with clasp and VS Code. Auto-complete works well for most every built-in library that works in the web-based script editor. However the Advanced Services, like AdminDirectory seem not to be included in the @types/google-apps-script package from npm. See the screenshot.

AdminDirectory not found

Is there any other package or workaround that will allow the Advanced Services to auto-complete in VS Code?

1

There are 1 best solutions below

0
On BEST ANSWER

It's now included in the @types/google-apps-script package:

Global values: AdminDirectory, ...