Skip to content
This repository has been archived by the owner on Nov 14, 2024. It is now read-only.

Latest commit

 

History

History
21 lines (13 loc) · 919 Bytes

README.md

File metadata and controls

21 lines (13 loc) · 919 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.