UNPKG

@gkz/ast-types

Version:

Esprima-compatible implementation of the Mozilla JS Parser API

6 lines (5 loc) 283 B
import { parse as esprimaParse } from "esprima"; export declare function validateECMAScript(file: any): void; export declare function babylonParse(source: any, options?: any): any; export { esprimaParse }; export declare function isEarlyStageProposalType(typeName: string): boolean;