ast-types icon indicating copy to clipboard operation
ast-types copied to clipboard

esprima def should contain ExportNamedDeclaration and ExportDefaultDeclaration

Open mroch opened this issue 9 years ago • 0 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.

https://github.com/jquery/esprima/pull/1149

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

mroch avatar Sep 28 '16 17:09 mroch