babel.d.ts 311 B

12345678
  1. import { parse as babelParse } from "@babel/parser";
  2. import { Overrides } from "./_babel_options";
  3. declare type BabelParser = {
  4. parse: typeof babelParse;
  5. };
  6. export declare const parser: BabelParser;
  7. export declare function parse(source: string, options?: Overrides): import("@babel/types").File;
  8. export {};