{"size": 386, "ext": "js", "max_stars_repo_path": "node_modules/war3-types/build.js", "max_stars_repo_name": "ZachHandley/war3ts-coordmath", "max_stars_repo_stars_event_min_datetime": "2020-01-07T12:13:50.000Z", "max_stars_repo_stars_event_max_datetime": "2021-12-08T19:04:40.000Z", "max_issues_repo_path": "node_modules/war3-types/build.js", "max_issues_repo_name": "ZachHandley/war3ts-coordmath", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "node_modules/war3-types/build.js", "max_forks_repo_name": "ZachHandley/war3ts-coordmath", "max_forks_repo_forks_event_min_datetime": "2020-01-14T09:38:00.000Z", "max_forks_repo_forks_event_max_datetime": "2021-02-06T19:43:11.000Z"}
{"max_stars_count": 6, "max_issues_count": null, "max_forks_count": 8, "avg_line_length": 35.0909090909, "max_line_length": 76, "alphanum_fraction": 0.6554404145}

const jassToTs = require('./node_modules/convertjasstots/dist/jassParser');
const parser = new jassToTs.JassParser();

async function genDefs() {
    await parser.main(['', '', "scripts/blizzard.j", "core/blizzard.d.ts"]);
    await parser.main(['', '', "scripts/common.j", "core/common.d.ts"]);
    await parser.main(['', '', "scripts/common.ai", "core/commonai.d.ts"]);
}

genDefs();