Skip to content

Latest commit

 

History

History
19 lines (12 loc) · 815 Bytes

README.md

File metadata and controls

19 lines (12 loc) · 815 Bytes

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 spider.js out.json # Scrape the Apps Script Reference Docs and create JSON files
cat out.json | node gen.js # 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.