parcoursup/node_modules/recast/parsers/_babel_options.d.ts
lalBi94 7bc56c09b5 $
2023-03-05 13:23:23 +01:00

9 lines
309 B
TypeScript

import { ParserOptions, ParserPlugin } from "@babel/parser";
export declare type Overrides = Partial<{
sourceType: ParserOptions["sourceType"];
strictMode: ParserOptions["strictMode"];
}>;
export default function getBabelOptions(options?: Overrides): ParserOptions & {
plugins: ParserPlugin[];
};