/dts-google-apps-script

d.ts files for Google Apps Script

Primary LanguageJavaScript

dts-google-apps-script

d.ts files generator for Google Apps Script

How to generate d.ts files and update the GoogleAppsScript Type Definition

Scrape and generate Apps Script d.ts files.

# Clone this repo
node src/spider.js > out.json # Scrape the Apps Script Reference Docs and create JSON files
node src/gen.js < out.json # Pipe the output from above into a generator. New d.ts files are written to google-apps-script/

Create a PR to DefinitelyTyped with these updated files.

Included in DefinitelyTyped

You may want to use definitions on DefinitelyTyped unless you want to generate d.ts files manually.