amis-rpc-design/node_modules/recast/parsers/babel.d.ts
2023-10-07 19:42:30 +08:00

9 lines
311 B
TypeScript

import { parse as babelParse } from "@babel/parser";
import { Overrides } from "./_babel_options";
declare type BabelParser = {
parse: typeof babelParse;
};
export declare const parser: BabelParser;
export declare function parse(source: string, options?: Overrides): import("@babel/types").File;
export {};