enuchi / dts-google-apps-script

d.ts files for Google Apps Script

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Update

(enuchi) This updates PopGoesTheWza's fork to add docs to class methods.

Original readme below

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.

About

d.ts files for Google Apps Script


Languages

Language:JavaScript 54.4%Language:TypeScript 45.6%