benjamn / ast-types

Esprima-compatible implementation of the Mozilla JS Parser API

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

esprima def should contain ExportNamedDeclaration and ExportDefaultDeclaration

mroch opened this issue · comments

The esprima def recognizes ExportDeclaration, which AFAICT was from the harmony branch of esprima which is abandoned, and esprima (and estree) now uses ExportNamedDeclaration and ExportDefaultDeclaration.

jquery/esprima#1149

these defs are in babel.js but should also be in esprima.js, or I guess in es6.js.