benjamn / ast-types

Esprima-compatible implementation of the Mozilla JS Parser API

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Cleanup definitions

bnjmnt4n opened this issue · comments

Currently the contents of the files do not match their filenames; core.ts, es6.ts and es7.ts all contain ECMAScript features from later versions.

If you’re willing to accept PRs to clean up the definitions, I can try to minimally match each def file to the ESTree spec for each ECMAScript release. This should also clear up some pretty old issues like #180, #183 and #225.