ast-types
ast-types copied to clipboard
esprima def should contain ExportNamedDeclaration and ExportDefaultDeclaration
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.